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
You can do that as follows,
label.setText(label.getText() + "text u want to append");
on each event.
<html><body> (possibly add some in-line styles in the body opening element).<br> or <p> (or <li> if adding <ul><li> to the prefix).See also How to Use HTML in Swing Components. For such gems as..
