Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by ���ߤF-DC
Mon, 19 Jan 2004 09:37
a simple question about JComboBox
Author: ���ߤF-DC
Date: Mon, 19 Jan 2004 09:37
Date: Mon, 19 Jan 2004 09:37
8 lines
1109 bytes
1109 bytes
Its default drop down button is a reversed triangle, can it be assigned with any other small graphic ? -- ============================= �n�n�B �X��J�Q�H =============================
Re: a simple question about JComboBox
Author: John McGrath [TeamB]
Date: Tue, 20 Jan 2004 01:06
Date: Tue, 20 Jan 2004 01:06
17 lines
1548 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads