Detect double-click in editable JComboBox?
From: John Moore (john_at_spamfree-jmsd.co.uk)
Date: 11/28/03
- Next message: ak: "Re: best way to use an icon with paint()"
- Previous message: Chris Smith: "Re: a simple java timer"
- Next in thread: ak: "Re: Detect double-click in editable JComboBox?"
- Reply: ak: "Re: Detect double-click in editable JComboBox?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Nov 2003 16:30:48 +0000
I have an editable JComboBox. I want it to scroll to the default value
if the user double-clicks in the edit area. So, I tried using
'addMouseListener()' with a MouseAdapter to listen for the click
count. I'm hearing nothing, though. Can a JComboBox not respond to a
mouse listener? What am I doing wrong?
TIA,
John
- Next message: ak: "Re: best way to use an icon with paint()"
- Previous message: Chris Smith: "Re: a simple java timer"
- Next in thread: ak: "Re: Detect double-click in editable JComboBox?"
- Reply: ak: "Re: Detect double-click in editable JComboBox?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]