testField.getText(). See the java doc for JTextField. Sample code can be: button.addActionListener(new ActionListener(){ public void ...
確定! 回上一頁