Article View: borland.public.jbuilder.java.swing
Article #743Re: Setting column titles in JTable, TableDialogEditDemo example
From: Arthur Ore
Date: Fri, 07 Jan 2005 20:30
Date: Fri, 07 Jan 2005 20:30
28 lines
2458 bytes
2458 bytes
Sounds like this bug :- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4473075 I played with your code and setting the header preferred size as per the work-around seems to fix the problem. I didn't get the caveat at the end. Arth "Richard M. Ulrich" <RichardU@UlrichAssociates.com> wrote in message news:41de9366$1@newsgroups.borland.com... > "John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message > news:xn0dwxxgt5qojdz00h@newsgroups.borland.com... > >> 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? > > Sorry, we had changed the property to AUTO_RESIZE_NEXT_COLUMN to generate > the last figure of the doc, and forgot to switch it back. Change > AutoResizeMode to to "OFF" in order to see the problem behavior. > > Thanks, > > R >
Technical Details
Message-ID:
<41def15b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!spool-3.news.visi.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<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> <41de9366$1@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 From: "Arthur Ore" <nospamthx@nospamthx.co.uk> 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> <41de9366$1@newsgroups.borland.com> Subject: Re: Setting column titles in JTable, TableDialogEditDemo example Date: Fri, 7 Jan 2005 20:30:16 -0000 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 82.69.65.131 Message-ID: <41def15b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105129819 82.69.65.131 (7 Jan 2005 12:30:19 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!spool-3.news.visi.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail