The pack method tells the frame to resize itself based on the preferred size of the components it contains. Components. JButton; JLabel; JTextArea; JTextField.
確定! 回上一頁