【文件属性】:
文件名称:猜数小游戏
文件大小:2KB
文件格式:JAVA
更新时间:2021-06-16 11:31:15
面向对象
一个猜数小游戏,myeclipse,共同学习,
public GameTest(){
super("猜数游戏");
Container c=this.getContentPane();
c.setLayout(null);
b1=new JButton("生成随机数");
b1.setBounds(30, 40, 200, 60);
ta=new JTextArea ();