Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Look and Feel  RSS feed

 
vinaya kumar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
When i change the look and feel from metal
to something else like Kunststoff, the table header is not changed to this look and feel.
i am using the SwingUtilities.updateComponentTreeUI(myFrame);
and then table.updateUI();
Any Clue why this is happening..
How do i change the table Header also.
thanks and Regards
vinay
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to update either the JTableHeader or the JScrollPane (as the scrollpane sets the header).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!