I am creating a table using swings JTable with some columns. i need to change the column names when i click on a particular button. How can i achieve my target? Thanks in advance for any help. [ October 17, 2005: Message edited by: Amrutha Ch ]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Be careful if you allow the user to re-order the columns, as getColumnModel().getColumn(0) will return the first column as displayed, not necessarily column zero of your table model.