Article View: borland.public.jbuilder.java.language
Article #7221Re: JComboBox
From: Michael Rachow
Date: Tue, 03 Jul 2001 20:25
Date: Tue, 03 Jul 2001 20:25
50 lines
2518 bytes
2518 bytes
OK I asked the combobox to early for its size. Now I'm doing on event windowOpened jdbCombobox.setDropDownWidth(jdbCombobox.getSize().getWidth()); Mic Michael Rachow <michael@famrachow.de> schrieb in im Newsbeitrag: 3b421d86_2@dnews... > Ouhhhh yes > and in addition I should have seen this because MemberInsight uses a bold > font > for stuff defined at the "last" level of derivation. > Nearly all of my comboxes result from columns with picklists defined for > so I forgot completely that there are more general comboboxes. > > Michael > > Robert A. Vasseur <vasseura@mscomm.com> schrieb in im Newsbeitrag: > 3b41ece5_2@dnews... > > Thanks for the info. The JCombo does not seem to have that method. But I > > suppose that I could use the JdbCombo instead of the JCombo then use the > > getFontMetrics ToolKit method to decide how wide the thing should be. > > > > Michael Rachow <michael@famrachow.de> wrote in message > > news:3b40dc28$1_2@dnews... > > > setDropDownWidth() > > > but it should not be easy to retrieve a useful size from the surface. > > > > > > Greetings > > > Michael > > > > > > Robert A. Vasseur <vasseura@mscomm.com> schrieb in im Newsbeitrag: > > > 3b409094_1@dnews... > > > > Anyone know how to expand the size of the list popup on a JComboBox? I > > > have > > > > always listed both a code and a code description in a combo, which > makes > > > it > > > > necessary to make the list popup much bigger than the combobox itself. > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Technical Details
Message-ID:
<3b422970_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3b409094_1@dnews> <3b40dc28$1_2@dnews> <3b41ece5_2@dnews> <3b421d86_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b7a7fc05e9f28f5c X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-07-03 13:25:45 PST From: "Michael Rachow" <michael@famrachow.de> Newsgroups: borland.public.jbuilder.java.language References: <3b409094_1@dnews> <3b40dc28$1_2@dnews> <3b41ece5_2@dnews> <3b421d86_2@dnews> Subject: Re: JComboBox Date: Tue, 3 Jul 2001 22:25:09 +0200 Lines: 52 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 217.227.20.11 Message-ID: <3b422970_2@dnews> X-Trace: dnews 994191728 217.227.20.11 (3 Jul 2001 13:22:08 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews