【♣부트 캠프♣】/▷TIL

[19일차] 자바로 윈도우 창만들기

아딜렛 2024. 6. 13. 20:49

FileOutputStream 파일을 만드는거는 fileoutputstream이다.!

/if문은 참 거짓만 나오고 boolean 값은 참/거짓만 결과값으로 필요하니 항상 같이 쓴다.

 

 

A Frame is a top-level window with a title and a border.

The size of the frame includes any area designated for the border. The dimensions of the border area may be obtained using the getInsets method, however, since these dimensions are platform-dependent, a valid insets value cannot be obtained until the frame is made displayable by either calling pack or show. Since the border area is included in the overall size of the frame, the border effectively obscures a portion of the frame, constraining the area available for rendering and/or displaying subcomponents to the rectangle which has an upper-left corner location of (insets.left, insets.top), and has a size of width - (insets.left + insets.right) by height - (insets.top + insets.bottom).

The default layout for a frame is BorderLayout.

 

출처 (자바8api) :https://docs.oracle.com/javase%2F8%2Fdocs%2Fapi%2F%2F/java/awt/Frame.html

 

Frame (Java Platform SE 8 )

A Frame is a top-level window with a title and a border. The size of the frame includes any area designated for the border. The dimensions of the border area may be obtained using the getInsets method, however, since these dimensions are platform-dependent

docs.oracle.com