Gerald Fehringer schrieb:
> Hi!I would like to exchange table columns programmatically .. but
> without changing the underlying table model ..How can that be done?
Use JTable#moveColumn(int column, int targetColumn)
"Moves the column column to the position currently occupied by the
column targetColumn in the view."
Or write a decorator TableModel which holds the mapping of the columns
between the underlying TableModel and the JTable.
--
Christian Pesch - Software Engineer
[EMAIL PROTECTED] - fon +49.40.325587.505 fax .999
CoreMedia AG - www.coremedia.com - 0700-COREMEDIA
Düsternstraße 3, 20355 Hamburg, Germany
CoreMedia - Think ahead! We're there.
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing