java基础问题请教!

2008-02-23 10:00:42来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

import Java.awt.*; import java.awt.event.*; import javax.Swing.*; public class GridLayoutDemo extends JFrame implements ActionListener { private JButton buttons[]; private final String names[]={"one","two","three","four","five","six"}; private boolean flag = true; private Container container; private GridLayout grid1,grid2; public GridLayoutDemo() { super("GridLayout Demo"); grid1=new GridLayout(2,3,5,5); grid2=new GridLayout(3,2); Container container=getContentPane(); container.setLayout(grid1); buttons=new JButton[names.length]; for(int count=0;count上一篇: STRUTS中光标定位问题
下一篇: JSP与MySQL交互的中文乱码解决方案及总结

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:J2EE学习过程

下一篇:JSP与MySQL交互的中文乱码解决方案及总结