getContentPane() 메소드는 무엇?
ComeOn
2023.04.01
aWindow.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
aWindow.getContentPane().setBackground(Color.PINK);
aWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
aWindow.setVisible(true);
}
}
여기서요 getContentPane()메소드는 어떤 역활인가요-0-?
책에는 설명이 안나와있다는;;;;;;
-
채움늘
실제적인 최상위 컨테이너를 가르킵니다.