Topic: 大虾帮忙 (setDefaultCloseOPeration 调不出来) |
Print this page |
1.大虾帮忙 (setDefaultCloseOPeration 调不出来) | Copy to clipboard |
Posted by: ulo_88 Posted on: 2004-11-07 23:44
setDefaultCloseOPeration这个方法 调不出来 |
2.Re:大虾帮忙 [Re: ulo_88] | Copy to clipboard |
Posted by: ulo_88 Posted on: 2004-11-07 23:50 本小虾初学 谢谢各位大虾帮忙 错误信息 "Server.java": cannot resolve symbol: method setDefaultCloseOPeration (int)in class untitled1.Server at line 107, column 17 "Server.java": cannot resolve symbol: method setVisible (boolean)in class untitled1.Server at line 40, column 5 "Server.java": cannot resolve symbol: method setSize (int,int)in class untitled1.Server at line 39, column 5 "Server.java": cannot resolve symbol: method getContentPane ()in class untitled1.Server at line 28, column 25 "Server.java": Object() in java.lang.Object cannot be applied to (java.lang.String) at line 27, column 5 |
3.Re:大虾帮忙 (setDefaultCloseOPeration 调不出来) [Re: ulo_88] | Copy to clipboard |
Posted by: why Posted on: 2004-11-08 20:46 请尽量用准确的文字描述作为标题 Applet,AWT,Swing的问题请移步至Java GUI 1. public class Server extends JFrame 2. application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 请先好好打稳基础才碰GUI方面的技术! |
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 |