java.awt.Dimension, 주요 메소드
              
          CODEDRAGON ㆍDevelopment/Java
반응형
    
    
    
  
java.awt.Dimension
· 컴포넌트 또는 컨테이너의 크기를 나타내는데 사용합니다.
· 현재 프레임이나 컴포넌트의 크기를 확인하거나 크기를 변경 하기위한 용도로 사용합니다.
Field Summary
| Modifier and Type | Field and Description | 설명 | 
| int | 
 The height dimension; negative values can be used. | 높이 | 
| int | 
 The width dimension; negative values can be used. | 너비 | 
주요 메소드
| 메소드 | 설명 | 
| void setSize(int width, int height) | 너비와 높이 설정 | 
| Dimention getSize() | 현재의 크기를 반환 | 
https://docs.oracle.com/javase/8/docs/api/java/awt/Dimension.html
'Development > Java' 카테고리의 다른 글
| 멀티 쓰레드 vs 멀티 프로세스 (0) | 2017.10.23 | 
|---|---|
| java.lang.Thread 클래스 생성자, Thread 클래스의 주요 메서드 (0) | 2017.10.23 | 
| anonymous Inner 클래스 (익명 내부 클래스) - 특징, 형식 (0) | 2017.10.20 | 
| WindowEvent, WindowEvent 클래스의 멤버필드, WindowEvent클래스의 주요메소드, WindowListener, WindowsListener 인터페이스의 주요 메소드 (0) | 2017.10.20 | 
| 메뉴 이벤트, 메뉴 이벤트 처리 방법 (0) | 2017.10.20 |