Forums Register Login

Resizing of a Component freezes the screen and contents of JTable are greyed

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Im moving this to the Swing/AWT forum where questions like this are a better fit. So please post your replies there. Thanks!
+Pie Number of slices to send: Send
Hi Ajmal,

can you post you gui code here, therefore, we may know how your code works wrong, and may fix it.
You're not going crazy. You're going sane in a crazy word. Find comfort in 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 965 times.
Similar Threads
JTable switching
JTable
JTable
JTable
Jtable
More...

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