File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes jTable Header Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jTable Header Problem" Watch "jTable Header Problem" New topic

jTable Header Problem

Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Hi All.

How can i create table headers at run time.

i created table with 4 columns namely (A,B,C,D).
At runtime on a single button click, i want to chage the header from above to (R,S,T,U).

Can any1 help me?


Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
I agree. Here's the link:
subject: jTable Header Problem
It's not a secret anymore!