목차
없음
본문내용
int status;
// 엘리베어터 Constructor
public Elevator_Initialize()
{
super("Elevator ..."); // 프레임 상단에 Title을 출력
BorderLayout border = new BorderLayout(); // 전체 레이아웃을 설정
getContentPane().setLayout(border);
Icon logo = new ImageIcon("disk.gif"); // 라벨에 이미지를 출력
label = new JLabel("Elevator Simulator Ver0.1", logo, JLabel.CENTER);
// down버튼을 초기화
JPanel downfloor = new JPanel();
downfloor.setLayout(new GridLayout(10,1,1,1)); // 격자 레이아웃 (행, 열, 수직(여백), 수평(여백))
downfloor.setBackground(Color.darkGray);
참고 자료
없음