posted 13 years ago
Hi,
I just started learning Swing.I'm trying to write a program in which there will be 2 panels.Panel1->for stopwatch Panel2->which will be displaying some data and it contains a button.
My concern is I'm using Threading to update the timer of stopwatch every second. After putting print statement i can see the stop watch part is running fine but the stopwatch panel is not getting updated every second.
Below is the some portion of my code relevant to this problem.
Can anybody help me out plzzzzzzzz!!!
PanelTop is the Class for stopwatch panel
Please let me know if my approach should be something else so as to achieve the requirement
Thanks in advance