Try debugging the code by adding some println statements that show where the execution flow is going and to show how and when the repaint() method is being called.
Type: Posts; User: Norm
Try debugging the code by adding some println statements that show where the execution flow is going and to show how and when the repaint() method is being called.
I feed the program its input using this
Scanner sc = new Scanner("s1 4.55 2013-04-24 17:26:48.0 ACK s1 4.55 2013-04-24 21:36:07.0 nil\n"
+ "s1 4.55 2013-04-24...
Can you make a small, complete program that compiles, executes and shows the problem for testing?
The code should only have the parts that are the problem: the GUI. No database or sockets.
Can you provide code that can be compiled and executed for testing that shows the problem?
The posted code is missing the import statements and does not have a main() method.