Topic: ECLIPSE 我点一个BUTTON打开另一个窗口不成功啊 |
Print this page |
1.ECLIPSE 我点一个BUTTON打开另一个窗口不成功啊 | Copy to clipboard |
Posted by: baohuazhang Posted on: 2004-07-21 12:31 protected void button_Login_clicked() { Quotation quote=new Quotation(); quote.open(); } 得到ERROR: at org.eclipse.swt.SWT.error(SWT.java:2691) at org.eclipse.swt.SWT.error(SWT.java:2616) at org.eclipse.swt.SWT.error(SWT.java:2587) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:568) at org.eclipse.swt.widgets.Display.create(Display.java:629) at org.eclipse.swt.graphics.Device.<init>(Device.java:99) at org.eclipse.swt.widgets.Display.<init>(Display.java:355) at org.eclipse.swt.widgets.Display.<init>(Display.java:351) at quoteAndBook.Quotation.open(Quotation.java:118) at quoteAndBook.Login.button_Login_clicked(Login.java:103) at quoteAndBook.Login$1.widgetSelected(Login.java:82) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at quoteAndBook.Login.open(Login.java:96) at quoteAndBook.Login.main(Login.java:38) Exception in thread "main" |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |