| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | 
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | 
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | 
| 26 | 27 | 28 | 29 | 30 | 31 | 
													Tags
													
											
												
												- React Native
- 티스토리 초대장/ 티스토리초대
- GitHub 미러링
- Emmet
- 초대장
- currentTimeMillis
- visual studio code
- code 설치
- 유니옥션
- GitLab미러링
- visual studio code cli
- react native #gradle
- 실행시간 측정
- webstorm
- 니돈내먹
- GitHub Mirroring
- 음료같은녹즙
- 티스토리 초대장
- Path Alias
- 프리티어
- eslint-import-resolver-typescript
- 네이버 클라우드 플랫폼
- GitLab Mirroring
- 티스토리초대
- '티스토리 초대장/ 티스토리초대'
- gitlab 연동
- code .
- settings sync
- code 세팅
- 프레시업 #풀무원 #하루한병 #건강만들기 #풀무원 녹즙
													Archives
													
											
												
												- Today
- Total
방치하기
홍대 자바 수업 : 핵심 플로우 그리드 보더 레이아웃 본문
반응형
    
    
    
  
import java.awt.event.*;
import java.awt.*;
class Fram extends Frame {
	public Fram(){
	super("윈도우 이벤트");
	//setLayout(new FlowLayout()); 플로우 레이아웃
	//setLayout(new GridLayout(3,2));그리드 레이아웃
	setLayout(new BorderLayout());
	add(new Button("button 01"),"East");
	add(new Button("button 01"),"West");
	add(new Button("button 01"),"Center");
	add(new Button("button 01"),"North");
	add(new Button("button 01"),"South");
	setSize(300,200);
	setVisible(true);
		addWindowListener(new WindowAdapter() {
		public void windowClosing(WindowEvent e){
			dispose();
			System.exit(0);
		}
	}
	);
	}
}
class FrameEvent  extends Frame
{
	public static void main(String[] args) throws Exception
	{
		new Fram();
	}
}
반응형
    
    
    
  '홍익대 Java > 수업' 카테고리의 다른 글
| 홍대 자바 수업 : awt 버튼 원하는 자리에 (0) | 2009.07.28 | 
|---|---|
| 홍대 자바 수업 : 패널 (0) | 2009.07.28 | 
| 홍대 자바 수업 핵심 buffer reader,스트링 토크나이저 (0) | 2009.07.28 | 
| 노바디 (0) | 2009.07.27 | 
| 홍대 자바수업 String 클래스 (0) | 2009.07.27 | 
			  Comments
			
		
	
               
           
					
					
					
					
					
					
				