Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #694 > unrolled thread

JTables columns dragging

Started by"Lorenzo" <lorenzo@THRWHITE.remove-dii-this>
First post2011-04-27 15:29 +0000
Last post2011-04-27 15:29 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  JTables columns dragging "Lorenzo" <lorenzo@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
    Re: JTables columns dragg "usenet" <usenet@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000

#694 — JTables columns dragging

From"Lorenzo" <lorenzo@THRWHITE.remove-dii-this>
Date2011-04-27 15:29 +0000
SubjectJTables columns dragging
Message-ID<1168969571.196564.256100@m58g2000cwm.googlegroups.com>
  To: comp.lang.java.gui
Hi chaps,

I'm developing a MATLAB GUI which uses JTables: I do not want the
columns to be dragged but the code

     mytable.setDragEnabled(false);

appears to be useless: columns can still be dragged.

Any idea of what's happening?  It seems to me that some sort of Java
instruction get lost when executed under MATLAB...

I would really appreciate some help


Thank you in advance


lor

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#705 — Re: JTables columns dragg

From"usenet" <usenet@THRWHITE.remove-dii-this>
Date2011-04-27 15:29 +0000
SubjectRe: JTables columns dragg
Message-ID<0T3pnl5eIk1k@uni.chka.de>
In reply to#694
  To: comp.lang.java.gui
Lorenzo <lorenzo.arona@gmail.com> wrote:

> I'm developing a MATLAB GUI which uses JTables: I do not want the
> columns to be dragged but the code

>      mytable.setDragEnabled(false);

> appears to be useless: columns can still be dragged.

Columns are not dragged by drag-and-drop, but internally.

> Any idea of what's happening?  It seems to me that some sort of Java
> instruction get lost when executed under MATLAB...

> I would really appreciate some help

table.getTableHeader().setReorderingAllowed(false);



Christian

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web