Topic: 请各位老大,看看为什么swing.JOptionPane不能运行 |
Print this page |
1.请各位老大,看看为什么swing.JOptionPane不能运行 | Copy to clipboard |
Posted by: shuimiao Posted on: 2005-08-31 16:07 import javax.swing.JOptionPane; class Love{ public static void main (String args[]) { JOptionPane.showMessageDialog (null,"Love!"); } } |
2.Re:请各位老大,看看为什么swing.JOptionPane不能运行 [Re: shuimiao] | Copy to clipboard |
Posted by: JavaandC Posted on: 2005-09-02 15:39 怎么不能运行?我也经编译通过,运行通过了 //file name Love import javax.swing.JOptionPane; class Love{ public static void main (String args[]) { JOptionPane.showMessageDialog (null,"Love!"); } } |
3.Re:请各位老大,看看为什么swing.JOptionPane不能运行 [Re: shuimiao] | Copy to clipboard |
Posted by: gaoyijun Posted on: 2005-09-03 14:28 代码应该是没问题的,可能是你的CLASSPATH没设置好。 还有加一句 System.exit(0); 让它正常退出。 |
4.Re:请各位老大,看看为什么swing.JOptionPane不能运行 [Re: shuimiao] | Copy to clipboard |
Posted by: shuimiao Posted on: 2005-09-04 16:16 谢谢! |
5.Re:请各位老大,看看为什么swing.JOptionPane不能运行 [Re: shuimiao] | Copy to clipboard |
Posted by: shuimiao Posted on: 2005-09-04 16:35 谢谢! |
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 |