aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JComboBox event handling question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JComboBox event handling question" Watch "JComboBox event handling question" New topic

JComboBox event handling question

Dave Robbins
Ranch Hand

Joined: Sep 16, 2003
Posts: 131
Hello All

I have a situation where I have a JComboBox with several items in it
I want to take some actions before the user changes the selection
(save some stuff to database)
what is the proper event to handle to do this??
can anyone point me to a good writeup on understanding just what events happen when and in what order for Swing components??

Dave Robbins
Ranch Hand

Joined: Sep 16, 2003
Posts: 131
implement a popupListener
I agree. Here's the link:
subject: JComboBox event handling question
Similar Threads
JComboBox automatically executes actionPerformed after combo items are refreshed??
NetBeans Matisse JCombBox Event Listener
Drop down event in JComboBox
How to make JComboBox flash (red color)?