1. JMenuBar 생성
2. JMenu를 생성하여 JMenuBar에 붙임
3. JMenuItem을 생성하여 JMenu에 붙임
4. 여러개의 메뉴와 메뉴 아이템을 생성
5. JMenuBar를 JFrame에 붙임
주 메뉴 구성
- JMenuBar 객체 생성 : frame에 stJMenuBar() 호출로 연결
주메뉴 위해 JMenu 객체 생성
- JMenuBar 객체에 add()로 연결
JMenu 객체에 아래 객체를 add()로 연결
showXXXDialog() 이용하여 생성void JOptionPane.showMessageDialog(Component parentComponent, Object msg, String title, int messageType)int JOptionPane.showConfirmDialog(Component parentComponent, Object msg, String title, int optionType)String JOptionPane.showInputDialog(Compnent parentComponent, Object msg, String title, int messageType)int showOpenDialog(Component pnt)int showSaveDialog(Component pnt)File getSelectedFile()JTabbedPane()void addTab(String title, Component comp)