Does the code do what you want? Then it's good.
Done for tonight. Back tomorrow.
Type: Posts; User: Norm
Does the code do what you want? Then it's good.
Done for tonight. Back tomorrow.
Look at the methods for the class you are using: JTextArea
Find the classname in the list on the left, click the link and the doc will show in the main frame.
Scroll down to where the methods are...
Where are you trying to show these two items? The only place I see them used is with a text area. The setText() sets the text to be displayed. Is that the method you want to use? The text area...