This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Hi, I would like to load number of column in JTable dynamically and i would like to change the name of the each column dynamically. Could any one can help me out. Thanks in advance, -Sridharan
posted 14 years ago
hi, the TableModel should do what you want. you will have to write your own (that implements the interface TableModel) and provide an appropriate method that returns dynamically the column names. maybe, you'll have to fire an event to update the table. chantal