🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JCheckBox items

#1802
From: Panath
Date: Mon, 28 Jul 2003 12:27
10 lines
1491 bytes
Hi everybody,
Here's the problem:
I have a jtable with 4 columns. I use a JCheckBox item with the names of the
columns of a jtable. When a column name is checked i want to see the
corresponding column in jtable.  So far all good. But here is the problem:
I add to the table' model 3 new columns with their columnNames and choose
NOT to display them. I know want to have in the checkbox the names of the
columns which are displayed checked, and the other columnNames un-checked.
Can this be done? How?
Thanks.
Technical Details
Message-ID: <3f2515f9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed1.easynews.com!easynews.com!easynews!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,108d563341411336,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-07-28 05:27:54 PST
From: "Panath" <stzelis@yahoo.gr>
Newsgroups: borland.public.jbuilder.java.swing
Subject: JCheckBox items
Date: Mon, 28 Jul 2003 15:27:30 +0300
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.249.30.124
Message-ID: <3f2515f9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059395065 213.249.30.124 (28 Jul 2003 05:24:25 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed1.easynews.com!easynews.com!easynews!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail