🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting column titles in JTable, TableDialogEditDemo example

#735
From: Mike Baden
Date: Fri, 07 Jan 2005 01:55
44 lines
3359 bytes
Hi,

I'm afraid that was my fault.  I'm working with Richard on this and wrote up 
a document showing the problems.  The last figure in the document showed the 
response when I set AutoResizeMode to "..NEXT_COLUMN".  I zipped up the code 
forgetting to set that back to "OFF".  And yes, we see the same behavior 
with that setting (all columns visible, but squeezed to fit).  If you set 
AutoResizeMode to "OFF" you should see the column label problems we've been 
seeing (as shown in the document Richard posted in the attachments 
newsgroup).

Mike



"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message 
news:xn0dwxxgt5qojdz00h@newsgroups.borland.com...
> On 1/5/2005 at 7:05:29 PM, Richard M. Ulrich wrote:
>
>> The problems we are running into are primarily associated with scrolled
>> column headers getting hopelessly out of synch or with the body of the
>> table (or downright mangled) when one scrolls to the right and then back.
>
> I cannot reproduce this.  The table's AutoResizeMode property is set to
> AUTO_RESIZE_NEXT_COLUMN, which means that the table will always be the
> same width as the scroll pane's viewport.  As a result, the horizontal
> scrollbar is never shown, so I cannot scroll to the right.  Can you give
> me steps to reproduce the problem you are seeing?
>
>> Also, resizing columns doesn't work too well.
>
> It seems to work as expected.  When a column width is changed, it adjusts
> the width of the next column so as to fit in the window.  This is what it
> is supposed to do when the AutoResizeMode is AUTO_RESIZE_NEXT_COLUMN.
> Have you tried other AutoResizeMode values?
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>    http://www.JPMcGrath.net/newsgroups/e-mail.html 
Technical Details
Message-ID: <BUlDd.71420$6V1.68303@bignews3.bellsouth.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews3.bellsouth.net.POSTED!59215c5f!not-for-mail
References: <41a8c0a1@newsgroups.borland.com> <41ab0304@newsgroups.borland.com> <xn0dqe27g17u5no001@newsgroups.borland.com> <41ae3fd6$1@newsgroups.borland.com> <xn0dqic152q8rpn001@newsgroups.borland.com> <41af6646$1@newsgroups.borland.com> <41b60985@newsgroups.borland.com> <41dc80b9@newsgroups.borland.com> <xn0dwxxgt5qojdz00h@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,2ec5ccf013472ede
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews3.bellsouth.net.POSTED!59215c5f!not-for-mail
From: "Mike Baden" <mikebaden_no_spam@bellsouth.net>
Newsgroups: borland.public.jbuilder.java.swing
References: <41a8c0a1@newsgroups.borland.com> <41ab0304@newsgroups.borland.com> <xn0dqe27g17u5no001@newsgroups.borland.com> <41ae3fd6$1@newsgroups.borland.com> <xn0dqic152q8rpn001@newsgroups.borland.com> <41af6646$1@newsgroups.borland.com> <41b60985@newsgroups.borland.com> <41dc80b9@newsgroups.borland.com> <xn0dwxxgt5qojdz00h@newsgroups.borland.com>
Subject: Re: Setting column titles in JTable, TableDialogEditDemo example
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <BUlDd.71420$6V1.68303@bignews3.bellsouth.net>
X-Complaints-To: abuse@bellsouth.net
X-Abuse-Info: Please forward a copy of all headers for proper handling
X-Trace: bhmkggakljkaanefdbdpiflmbcekedmfhojhikkbagflhcbomiangmimadgfadnfodmalbecgoaaleiniplgmaohpklaghphalpnflbapfokdkpegllemmkpoifbbjgokhgmajkkkclphmcfimchnemfnfpnnfkc
NNTP-Posting-Date: Thu, 06 Jan 2005 20:49:21 EST
Organization: BellSouth Internet Group
Date: Thu, 6 Jan 2005 20:55:10 -0500