πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ibm.software.vajava.language
Article #28

Re: JTable problem

#28
From: Peter Walker
Date: Thu, 25 Jan 2001 21:49
41 lines
3182 bytes
VAJ 3.02 EA uses Java2 (JDK 1.2) in which JTable (and other Swing
components) have changed relative to size. Consequently JTable doesn't show
up well in the VCE (Visual Composition Editor), if your are using it.

If you are using the VCE, much of your work has to be done in the Beans List
if you dropped the JTable (and underlying JScrollPane) on a container that
is set with BorderLayout as it's layout manager. From the Beans list, select
the JTable component and bring up the property sheet. Select the Reset
button, and from the dialog select the properties 'preferredSize' and
'autoResizeMode', and select Okay to close the dialog and reset these
properties to the default settings. This will allow the JTable to be resized
to the JScollPane and hopefully allow the TableColumns to float in the
JTable to their preferred size as well. Hit the Run button to save, gen, and
test your class.

Hope this helps.....
Peter Walker

"Jean-Luc Lachance" <jllachan@interlink.net> wrote in message
news:3A6F5698.DDBEE9D0@interlink.net...
Enough pulling my hair!!!

I recently moved from VAJ 3.0 to VAJ 3.02 EA and all my JTables are messed
up.
Columns seem to have a mind of there own when it comes to layout.  Scrolling
horizontal AND vertical is broken.

Please do not tell me about the AUTO_RESIZE_OFF, I already wasted enough
time
with that one.

Is there a comprehensive list of bug fixes, improvements, feature changes,
etc.
for the swing package.

--
Jean-Luc Lachance                   |mailto:jllachan@interlink.net
Action Telematique Inc              |   tel:(450)375-9782
121, montοΏ½e Krieghoff               |   fax:(450)375-7725
Canton de Shefford, QC, CANADA      |   cel:(514)992-4229
J2G 9J6                             |  home:(450)375-2936
Technical Details
Message-ID: <94q6gv$caa$1@news.software.ibm.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!130.59.211.10.MISMATCH!merapi!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.software.ibm.com!not-for-mail
References: <94mdgv$dea$1@news.software.ibm.com> <3A6ED738.FBB6FF68@ca.ibm.com> <94naas$rvq$1@news.software.ibm.com> <94nisl$12oq$1@news.software.ibm.com> <3A6F5698.DDBEE9D0@interlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fed75,626d6cd543049ae6
X-Google-Attributes: gidfed75,public
X-Google-Thread: 109b1c,626d6cd543049ae6
X-Google-Attributes: gid109b1c,public
X-Google-Thread: 114aa0,652a1b8760b0e6c
X-Google-Attributes: gid114aa0,public
X-Google-ArrivalTime: 2001-01-25 14:03:33 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!130.59.211.10.MISMATCH!merapi!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.software.ibm.com!not-for-mail
From: "Peter Walker" <walkerp@us.ibm.com>
Newsgroups: ibm.software.vajava.language,ibm.software.vajava.ide,ibm.software.vajava.beans
Subject: Re: JTable problem
Date: Thu, 25 Jan 2001 16:49:39 -0500
Organization: IBM Software Group                 
Lines: 43
Message-ID: <94q6gv$caa$1@news.software.ibm.com>
References: <94mdgv$dea$1@news.software.ibm.com> <3A6ED738.FBB6FF68@ca.ibm.com> <94naas$rvq$1@news.software.ibm.com> <94nisl$12oq$1@news.software.ibm.com> <3A6F5698.DDBEE9D0@interlink.net>
NNTP-Posting-Host: ss01.nc.us.ibm.com
X-Trace: news.software.ibm.com 980458847 12618 32.97.136.231 (25 Jan 2001 21:40:47 GMT)
X-Complaints-To: usenet@news.software.ibm.com
NNTP-Posting-Date: 25 Jan 2001 21:40:47 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700