aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JComboBox automatically executes actionPerformed after combo items are refreshed?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JComboBox automatically executes actionPerformed after combo items are refreshed??" Watch "JComboBox automatically executes actionPerformed after combo items are refreshed??" New topic
Author

JComboBox automatically executes actionPerformed after combo items are refreshed??

sharath kv
Greenhorn

Joined: May 06, 2003
Posts: 20
Hi
I want to know how to stop the JComboBox from automatically executing the actionPerformed after the JComboBox items have been updated at runtime??
i,e the JComboBox items are refreshed after I click on a child node in a JTree.
For every click on a node in the JTree the JComboBox items are refreshed,but the actionPerformed event is also executing automatically. I need the JComboBox to wait for the user input after each refresh and not perform the event automatically as soon as it is refreshed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JComboBox automatically executes actionPerformed after combo items are refreshed??
 
Similar Threads
JTree
Right click on JTree?
JTree
JTree/JScrollpane problem
Checkbox with Jtree