jerome
Posts: 5
Nickname: romje
Registered: Feb, 2002
|
|
Re: Java Swings(JTable)
|
Posted: Feb 28, 2002 7:56 AM
|
|
> How can I Dynamically change the TableModel of JTable > when a New Column is added to it ?
I think that you can implement the TableModel interface while having a column number changing. Imagine that this number is read from an XML def file & taht the name & type is read from the sam file your table model just have to parse this file, deduce its parameters & use thme in the required methods...
Don't know what could be the visual effect after refresh but it should work...
Jerome
|
|