Refresh « JLabel « Java Swing Q&A





1. Refreshing JLabel    coderanch.com

2. refresh label    coderanch.com

it would be better to post your code so we can compile/run and see exactly what you are doing. don't post your entire code, strip all unrelated stuff - menu's and other components not in the 'flow' of the problem. make sure, after stripping, it compiles, runs, and produces the same problem - then post that

3. Cannot refresh a JLabel on a JFrame    java-forums.org

Well, it was my Cognitive Science teacher who told me to use that method. So either he has no f***** idea (which is not only possible but likely ) or it could be done with the sleep method. I'm totally aware that the program will "freeze" exactly 15 seconds, and that's exactly what it should do. It will be a program ...