February 2014
Beginner
1248 pages
62h 25m
English
Class TextFieldTest (Fig. 12.10) contains the main method that executes this application and displays an object of class TextFieldFrame. When you execute the application, even the uneditable JTextField (textField3) can generate an ActionEvent. To test this, click the text field to give it the focus, then press Enter. Also, the actual text of the password is displayed when you press Enter in the JPasswordField. Of course, you would normally not display the password!
Read now
Unlock full access