1. 추가사항
    1. 2019-05-09 : JTable 콤포넌트 추가 방법
  2. JFrame을 상속받아 MainUI 클래스 만들기
  3. 콤포넌트 예제
  4. JButton 콤포넌트 1개 추가하기
  5. JButton에 ActionListener 추가하기 #1 : 버튼에 ActionListener 추가하기
    1) btnAddr.addActionListener(new Ac 까지 입력하고 Ctrl+Spacebar를 클릭하여 추가
  6. JButton에 ActionListener 추가하기 #2 : MainUI에 ActionListener 인터페이스 추가하기
    1) JFrame 뒤에 implements ActionListener를 입력한다
    2) class MainUI에 오류 발생으로 빨간 밑줄이 나온다.
    3) MainUI위에 마우스를 올려놓은 후 Add unimplements method를 클릭한다.
    4) public void actionPerformed(ActionEvent e){} 메소드가 추가된다.
  7. JFrame을 상속받아 AddressUI 클래스 만들기
  8. JLabel 추가
  9. JTextField 추가
  10. JRadioButton 추가
  11. JComboBox 추가 방법 1
  12. JComboBox 추가 방법 2
  13. JComboBox에 Listener 추가와 item 변경
  14. JTextArea 추가
  15. JPanel 추가

     
error: Content is protected !!