![[Swing] FlowLayout](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FXypDV%2FbtqFnEjHuBl%2FjjmSk8LuXgVKFnW9cAQIC1%2Fimg.png)
Java2020. 7. 4. 14:37[Swing] FlowLayout
package swing.frame; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JFrame; public class FlowLayoutFrame extends JFrame { public FlowLayoutFrame(String title) { //this없어도됨 //title설정 setTitle(title); //size설정(width,height) setSize(300, 300); //위치 설정(x,y) setLocation(800, 300); //종료관리(보통 EXIT_ON_CLOSE를 사용, 상수3) setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //레이아웃 setL..