window
Wed Dec 20 2023 05:22:06 GMT+0000 (Coordinated Universal Time)
Saved by
@dsce
import java.awt.*;
import java.awt.event.*;
public class gui extends Frame{
private Button red=null;
private Button green=null;
public gui(){
}
public static void main(String[] args){
gui f=new gui();
//f.setLocation(150,150);
f.setVisible(true);
//f.setSize(300,300);
f.setBounds(10,10,500,500);//location and size
f.add(red);
}
}
content_copyCOPY
Comments