Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Display Colum header in Jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Display Colum header in Jtable" Watch "Display Colum header in Jtable" New topic
Author

Display Colum header in Jtable

faisal henry
Greenhorn

Joined: Feb 15, 2004
Posts: 3
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
faisal henry
Greenhorn

Joined: Feb 15, 2004
Posts: 3
ok sheriff i surrender ),
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

That was quick. Thanks!
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display Colum header in Jtable
 
Similar Threads
JTable(!!!)
how to create jtable with rowheader as well as with columnheader
Partitioning a JTable
JTable
JTable