Re: 3 state listbox?
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 17:51:30 +0100
Ike wrote:
Is anyone aware of where I might obtain a "3 state" listbox, as opposed to the two-state JList? Something that might allow things to be a second color if they are selected, say, by right-clicking? Thanks, Ike
I suggest writing a ListCellRenderer to do the highlighting. If you use EventQueue.getCurrentEvent (since 1.4) to detect special selections, then you can still be relatively friendly to the PL&F.
Tom Hawtin -- Unemployed English Java programmer http://jroller.com/page/tackline/ .
- References:
- 3 state listbox?
- From: Ike
- 3 state listbox?
- Prev by Date: 3 state listbox?
- Next by Date: Re: JTextField not select all on double-click
- Previous by thread: 3 state listbox?
- Index(es):