AWTのクラスをメモ
Java.lang.Object
L java.awt.Component
L Button, Checkbox, Label, Choise, List, Scrollbar, Canvas, TextComponent(L TextField, TextArea), Container(L Window(Frame, Dialog), Panel(Applet))
例
import java.awt.*;
public class Calc1{
public static void main(String[] args){
Frame frame=new Frame("frame");
frame.setLocation(200, 100);
frame.setSize(300, 200);
frame.setBackground(Color.BLUE);
frame.setVisible(true);
}
}