Java Reference
In-Depth Information
20. Then the text field is not labeled, and the user will not know its purpose.
21. Integer.parseInt(textField.getText())
22. A text field holds a single line of text; a text area holds multiple lines.
23. The text area is intended to display the program output. It does not collect
user input.
24. Don't construct a JScrollPane and add the resultArea object
directly to the frame.
Search WWH ::




Custom Search