62,614
社区成员
发帖
与我相关
我的任务
分享
@SuppressWarnings("deprecation") //说白是告诉编译器,不要去做检查工作
public class Balls extends JFrame implements ActionListener{
/**
* Comment for <code>serialVersionUID</code>
*/
private static final long serialVersionUID = 1L;
private JButton go1,go2,stop1,stop2;
private JPanel panel1, panel2;
// private Ball ball1,ball2;
public Balls(){
super();
initFrame();
}
private void initFrame(){
this.setSize(1000,1000);
this.setVisible(true);
}
/**
* 功能:<br>
*
* @param args
* @author xxx
*/
public static void main(String[] args) {
new Balls();
}
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
}