🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1056

Re: Column Dragging in JTable

#1056
From: Tor Iver Wilhelmsen (TeamB)
Date: Wed, 28 Apr 2004 11:53
6 lines
1080 bytes
"Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> writes:

> How do I disable the dragging capability of columns in a JTable. I tried
> setting the .setDragEnabled(false) and it doesn't do anything.

You need to get the TableHeader and set a boolean property there.
Technical Details
Message-ID: <u4qr4iaii.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <408edb6d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c4f286f36a6c3d86
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-04-28 05:05:11 PST
Sender: towi@SDSA4902
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Column Dragging in JTable
References: <408edb6d@newsgroups.borland.com>
From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB))
Date: 28 Apr 2004 13:53:41 +0200
Message-ID: <u4qr4iaii.fsf@ergo.no>
Lines: 6
X-Newsreader: Gnus v5.7/Emacs 20.7
NNTP-Posting-Host: 139.105.130.111
X-Trace: newsgroups.borland.com 1083153223 139.105.130.111 (28 Apr 2004 04:53:43 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail