アットウィキロゴ

0825j

import java.awt.*;
import java.awt.event.*;

class game0825 extends Frame{

public static void main(String[] args) {
game0825 test=new game0825();

}

game0825(){
Panel pane=new Panel();
Button b1 = new Button("OK");
add(pane);
pane.add(b1);
setSize(700,700);
setBackground(Color.blue) ;
setVisible(true);

addWindowListener(new WindowAdapter(){public void
windowClosing(WindowEvent e){System.exit(0);}});

}
最終更新:2011年03月01日 21:55