🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTable problem

#29
From: Jean-Luc Lachance
Date: Fri, 26 Jan 2001 00:05
83 lines
4070 bytes
Thanks for the help but I have already tried all that.
Columns have a mind of their own.  I can not set the width without breaking
something else.

If I set AUTO_RESIZE_OFF can see all the headers with the proper size, but the
underlying table is too narrow.  When I run the application in the VCE, some
columns are off the table and do not show; the scroll bar do not show until I
resize the frame smaller than the table and still can not access the rightmost
columns.

If I try to set the size of the table, nothing gets displayed.

I have wasted almost a week on that problem and I am now so frustrated that I am
considering switching to Sun's Forte.  At least I will get 1.3 ...



Peter Walker wrote:
> 
> 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: <3A70BF61.46C58EA1@interlink.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!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> <94q6gv$caa$1@news.software.ibm.com>

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 16:08:32 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!news.software.ibm.com!not-for-mail
From: Jean-Luc Lachance <jllachan@interlink.net>
Newsgroups: ibm.software.vajava.language,ibm.software.vajava.ide,ibm.software.vajava.beans
Subject: Re: JTable problem
Date: Thu, 25 Jan 2001 19:05:53 -0500
Organization: Action Télématique Inc
Lines: 83
Message-ID: <3A70BF61.46C58EA1@interlink.net>
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> <94q6gv$caa$1@news.software.ibm.com>
NNTP-Posting-Host: 207.253.49.33
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: news.software.ibm.com 980467066 29820 207.253.49.33 (25 Jan 2001 23:57:46 GMT)
X-Complaints-To: usenet@news.software.ibm.com
NNTP-Posting-Date: 25 Jan 2001 23:57:46 GMT
X-Mailer: Mozilla 4.75 [en] (Win95; U)
X-Accept-Language: en