Re: What to override inJComboBox
- From: "Monique Y. Mudama" <spam@xxxxxxxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 08:17:03 -0600
On 2005-08-29, bobjan penned:
> I need a class that extends JComboBox, but with slightly different
> behaviour. I want to intercept mouse click on an item in the list,
> do some processing, and sometimes prevent the item to be treated as
> selected. I think it could be done by overriding some JComboBox
> method but don't know which one(s). I have tried with custom
> renderers, editors, listmodels, but no success. Can anyone give me
> a clue ?
What about just the MouseListener stuff?
--
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
.
- Follow-Ups:
- Re: What to override inJComboBox
- From: Thomas Fritsch
- Re: What to override inJComboBox
- References:
- What to override inJComboBox
- From: bobjan
- What to override inJComboBox
- Prev by Date: Re: setToolTips in a JTable
- Next by Date: Re: What to override inJComboBox
- Previous by thread: What to override inJComboBox
- Next by thread: Re: What to override inJComboBox
- Index(es):
Relevant Pages
|
|