| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- ObjectOutputStream
- 메서드
- 사전학습
- BorderLayout
- inline
- 퍼셉트론
- g검정
- oracle
- GridLayout
- 반응형웹
- FlowLayout
- 반응형 웹 프로젝트
- CSS
- Position
- html 기초
- html 프로젝트
- 예제
- java
- iframe 태그
- HTML
- Database
- 미디어쿼리
- 푸리에 변환
- rnn
- FFT
- 상속
- 파이썬
- Codility
- FileWriter
- css 기초
- Today
- Total
목록BorderLayout (2)
도라에몽주머니
FlowLayout FlowLayout flowLayout = new FlowLayout(); setLayout(flowLayout); GridLayout // GridLayout(row, column, horizontal gap, vertical gap) // "행x열"로 격자모양으로 왼쪽 위에서부터 추가함 GridLayout gridLayout = new GridLayout(2, 2, 5, 5); setLayout(gridLayout); BorderLayout BorderLayout borderLayout = new BorderLayout(); setLayout(borderLayout); // button 설정 button1.setBackground(Color.YELLOW); button2.setBa..
Frame : 각종 응용프로그램을 위한 윈도우를 제공하는 클래스 Button setBounds(x, y, width, height) : 버튼의 위치 및 크기 지정 ActionListener : 버튼을 클릭하거나 메뉴를 누르는 등 이벤트가 발생하였을 때 사용되는 이벤트 리스너(Event Listener) actionPerformed(ActionEvent e) class ActionDefine implements ActionListener { @Override public void actionPerformed(ActionEvent e) { System.exit(0); // 프로그램 강제 종료 } } 이벤트 처리 방법 1. Listener를 상속받은 클래스를 만들어서 사용 import java.awt.Butt..