Results 1 to 2 of 2
Thread: combo box listener?
- 07-08-2010, 12:04 PM #1
combo box listener?
I have a Main Frame that have JTabbed Pane with 3 tabs. These tabs are constructed entirely in separate classes. The first tab(say 'A') have a JComboBox which have items like Tab B and Tab C.
When Main Frame is loaded or program start Tab A is only enabled while tab 'B', tab 'C' is disabled. When user select item, like 'Tab B' from combo box then Tab B should be enabled.
So problem is, which Listener to use such that, Main Frame can catch event triggered due to index change from comboBox.
-Note:Main Frame just calls the tab method and holds it in panel.
- 07-08-2010, 12:26 PM #2
ActionListenerMath problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- By efozdel in forum New To JavaReplies: 1Last Post: 07-07-2010, 03:29 PM
- By archcavalier in forum Enterprise JavaBeans (EJB)Replies: 7Last Post: 05-23-2010, 06:03 PM
- By okabeer in forum AWT / SwingReplies: 3Last Post: 04-06-2009, 06:05 PM
- By er.tyagigaurav in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 12-09-2008, 04:14 PM