🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: a simple question about JComboBox

#1359
From: John McGrath [TeamB]
Date: Tue, 20 Jan 2004 01:06
17 lines
1548 bytes
On 1/19/2004 at 4:37:09 AM, ���ߤF-DC@�n�B wrote:

> Its default drop down button is a reversed triangle, can it be
> assigned with any other small graphic ?

That is controlled by the UI delegate for the JComboBox (which is
provided by the look-and-feel).  You would have to provide a custom UI
delegate in order to control how the drop-down button is painted.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <400c8d10$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400ba4c1$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,ffb78fdd24584077
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-01-19 18:09:51 PST
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: a simple question about JComboBox
Newsgroups: borland.public.jbuilder.java.swing
References: <400ba4c1$2@newsgroups.borland.com>
User-Agent: XanaNews/1.15.8.5
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 141.158.5.14
Message-ID: <400c8d10$1@newsgroups.borland.com>
Date: 19 Jan 2004 18:06:08 -0700
X-Trace: newsgroups.borland.com 1074564368 141.158.5.14 (19 Jan 2004 18:06:08 -0700)
Lines: 17
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail