posted 19 years ago
Hi,
I am getting a problem where Contents of a JTable are getting greyed, I mean not able to see when I resize the parent component that is a JPanel.
I have two Tables one table used as rowHeader and other for dataContent display(Viewport) in a JScrollpane. Here I am embedding the two tables into a JscrollPane and the JScrollPane into a JPanel. The dimensions of JScrollPane have to be varied as the Jpanel is resized. But in my case when I resize( decrease the size of JPanel) the contents in JScrollPane are getting greyed(not visible).
I am beginner in using Swing. Could you please inform any solution or work around to solve the problem.
Thanks,
Ajmal.