I've inherited a JMS + SWING program that reads messages and echoes them to a GUI. The original author chose to display the data using a JTree.
The program now hangs periodically while constantly flickering the JTree. My question (which I know is unfair) weather I should suspect to fix that bug by using a JTable instead. The program can recieve up to 20 "status" messages per second. The JTree can contain as many as a 1000 rows. I fear that is not what that JComponent was meant to do. I believe that a JTable would reduce the amount of "screen flicker", as it might repaint only those rows that have changed, and not the whole tree. But I am not sure weather this could actually fix such a severe bug as the program hanging? A second thread is being used to repaint the screen, so that it's not updating with every new message. Unfortunately, I cannot reproduce the problem on demand. Any advice would be appreciated. TIA, MPC _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing