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

TableHeader  RSS feed

 
Itapaj� Takeguma
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can someone tell me how I can take only the TableHeader (using the JTable.getTableHeader()) and put it into a JPanel so I can make it get streched?

Thanks,
Itapaje
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Itapaje,
Pardon me if I am stating the obvious, but have you tried putting your "JTable" in a "JScrollPane", like this:

Good Luck,
Avi.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!