Forums Register Login

JTree or JTable shows up blank?

+Pie Number of slices to send: Send
Howdy folks,

I have a JTable and a JTree that if ran on a slower cpu (ie ram is low) the application will run fine and the JTRee will show up. If run on a faster cpu it seems that every now and then the JTree will show up completely blank. Anyone have any ideas?

Thanks,
Randy
+Pie Number of slices to send: Send
Sounds like a threads problem to me.
Check whether you update your tree from a different thread then the dispatch event (AWT) thread. If so, use SwingUtilities or SwingWorker to make sure your update are valid.

Ron
I claim this furniture in the name of The Ottoman Empire! You can keep this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 780 times.
Similar Threads
JTree and JTable
JTree and JTable
JTree
DND from JTree to JTable
JTree
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:02:59.