package CHAP09;

 import javax.swing.*;
 import java.awt.*;

 public class C10_11_NoLayoutExample extends JFrame {
 public NoLayoutExample() 
 setTitle("NoLayout Example");
 setSize(400, 200);
 setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

 setLayout(null);

 JButton button = new JButton("고정 위치 버튼");
 button.setBounds(50, 50, 150, 30); 
 add(button); 
 }

 public static void main(String[] args) {
 NoLayoutExample frame = new NoLayoutExample();
 frame.setVisible(true);
 }
 }