File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Author

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??

TIA
Dave
Dave Robbins
Ranch Hand

Joined: Sep 16, 2003
Posts: 131
ahh,
implement a popupListener
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JComboBox event handling question