wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTable viewing problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable viewing problem" Watch "JTable viewing problem" New topic
Author

JTable viewing problem

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
I have built a JTable on a JScrollPane inside a
JDialog. My problem is that when the data is build the JDialog grey until I run the mouse over it. Then the data that was loaded will appear.
Any ideas?
Matt Robinson
author
Greenhorn

Joined: Apr 30, 2001
Posts: 16
Try calling revalidate() and then repaint() on your JScrollPane right after you display it.


Matthew Robinson
co-author of Swing Second Edition (2003, Manning Publications).
 
jQuery in Action, 2nd edition
 
subject: JTable viewing problem