hi, i wrote a simple program that contains a button and a jtextarea
when i click on the button, it will do the following...
jtextarea.append("a\n"); //statement a
jtextarea.append("b\n"); //statement b
jtextarea.append("c\n"); //statement c
wat i reli want is that...it shows statement a on the jtextarea first...after a few seconds, statement b....a few more seconds, statement c
i tried using this.sleep(1000), but it will just hang for a few seconds and then finally display everything at once
how do i display those statements once at a time? i'm using actionPerformed() for the button, is this correct?