[이한출판사] 자바프로그래밍(java programming) 9장,10장(9chapter,10chapter) 워크북(workbook)
- 최초 등록일
- 2008.05.25
- 최종 저작일
- 2007.12
- 13페이지/
압축파일
- 가격 1,500원

소개글
[이한출판사] 자바프로그래밍(java programming) 9장 실습과제 1,3 하고
10장 실습과제 1,2입니다.
목차
chapter 09 실습 과제1.
◎ 구현
◎ 실험 평가
chapter 09 실습 과제3.
◎ 분석
◎ 구현
◎ 실험 평가
본문내용
import java.awt.*;
class Exam0901 extends Frame {
public Exam0901() {
super("화면 중앙에 배치");
this.setSize(300, 200);
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frm = this.getSize();
int xpos = (int)(screen.getWidth() - frm.getWidth()) / 2;
int ypos = (int)(screen.getHeight() - frm.getHeight()) / 2;
this.setLocation (xpos, ypos);
Button butt = new Button("프레임의 중앙");
Panel topPane = new Panel();
Panel middlePane = new Panel();
Panel bottomPane = new Panel();
middlePane.setSize(0,0);
middlePane.add(butt);
this.setLayout(new GridBagLayout());
this.add(topPane);
this.add(middlePane);
this.add(bottomPane);
}
public static void main(String[] ar) {
Exam0901 cp = new Exam0901();
cp.setVisible(true);
}
}
참고 자료
없음
압축파일 내 파일목록
Exam0901.java
Exam0903.class
Exam0903.java
Exam1001$1.class
Exam1001.class
Exam1001.java
Exam1002.class
Exam1002.java
GraphCanvas.class
score.txt
ScoreFrame.class
w09,10_200311436_차석환.hwp
그림1.jpg
그림2.jpg
Data.class
Exam0901.class