Article View: borland.public.jbuilder.java.swing
Article #8021Re: Change backcolor of noneditable JComboBox
From: Michael Rachow
Date: Wed, 08 Nov 2000 07:48
Date: Wed, 08 Nov 2000 07:48
5 lines
1139 bytes
1139 bytes
You have to provide a customized ListCellRenderer implementation. The documentation of that interface is showing an example just at the beginning (incluing setting background color) Michael.
Technical Details
Message-ID:
<3a090560_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsgate.cistron.nl!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!uio.no!130.227.3.87.MISMATCH!neel.uni2.net!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!62.224.105.17References:
<3A083465.816075B2@sw-design.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,2b39c1adbfce528d X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2000-11-07 23:59:27 PST From: "Michael Rachow" <mrachow@BeraCom.de> Newsgroups: borland.public.jbuilder.java.swing References: <3A083465.816075B2@sw-design.ch> Subject: Re: Change backcolor of noneditable JComboBox Date: Wed, 8 Nov 2000 08:48:35 +0100 Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 62.224.105.17 Message-ID: <3a090560_1@dnews> X-Trace: 7 Nov 2000 23:48:48 -0800, 62.224.105.17 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsgate.cistron.nl!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!uio.no!130.227.3.87.MISMATCH!neel.uni2.net!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!62.224.105.17