반응형
JTextField f = new JTextField(20);
JTextField f = new JTextField("Your name");
System.out.println(f.getText());
f.setText("watever");
f.setText("");
f.addActionListener(myActionListener);
f.selectAll();
f.requestFocus();
반응형
|
JTextField f = new JTextField(20);
|