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

Display Colum header in Jtable  RSS feed

 
faisal henry
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I want to display the column header in my Jtable, but when i finished editing the header it won't show. I am using Forte 4, is there a bug or am i doing it wrongly?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nu toJava,
Welcome to Javaranch! You'll find that this is a great community for learning Java. And we don't have too many rules around here. But we do have a Naming Policy.
Please adjust your display name to meet these requirements. You can change your display name here.
Thanks.
 
faisal henry
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok sheriff i surrender ),
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was quick. Thanks!
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your table headers don't show up unless your table is in a JScrollPane... kinda confusing, but it's done mostly so you don't have to worry about keeping headers at the top of the scroll pane yourself.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!