Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JLabel append?

807591Apr 7 2008 — edited Apr 7 2008
How would I go about achieving the effect of JTextArea with JLabel?
I want the output to be displayed every time the button is clicked on the next line down instead of replacing what text is already there, IE: like an append method for JLabel? I just want it to follow the same behavior as JTextArea.append. Also I need to calculate how many lines there are each time I add a new line.

Thanks tons,

- GoOsE
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2008
Added on Apr 7 2008
12 comments
1,306 views