Hello.
I'm just beginning with Java. Can you help? Is there something I can
do to make it impossible for the user to mess around with the order of
the columns. It's just that I find it annoying that the columns can be
moved when there's absolutely no use for it!
I've looked in the Java tutorial and in the Java Class Reference and
found nothing about it.
Thanks.
> I'm just beginning with Java. Can you help? Is there something I can
> do to make it impossible for the user to mess around with the order of
> the columns. It's just that I find it annoying that the columns can be
> moved when there's absolutely no use for it!
table.getTableHeader().setReorderingAllowed(false);
table.getTableHeader().setResizingAllowed(false);
bye.

Signature
Real Gagnon from Quebec, Canada
* Looking for Java or PB snippets ? Visit Real's How-to
* http://www.rgagnon.com/howto.html