This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have a Java swing application which has a Jtable inside Jscrollpane. The scrollpane is assed to the JFrame. When I scroll horizontally, The header text is blurred/disappeared. I know the reason is because of having the huge width settings to the table which is greater than frame size. But I need to have that setting. I have attached a sample code to show my issue.
This is working just fine on my machine.
It's is not making any difference even after commenting out the size settings.
I am using Eclipse IDE.
"It's good to B in touch...So keep responding"
Joined: Dec 14, 2010
I have set the preferred size because when I maximize the panel, My table should adjust to the size of the maximized panel. How can I achieve that now?Because, If i remove the preferred size, even If i maximize the size remains the same.