i have problem with JComboBox in my program. i am adding items to JComboBox at the time of itemStateChanged of a JRadioButton. Every time the selected JRadioButton is changed, i am changing the JComboBox items. i am retrieving the selected JComboBox item at the time of JButton click. But i got only the null value. i have also used another JComboBox. The items for this JComboBox is added only at the time of constructig the object. When i selected an item in this JComboBox i get the selected value correctly. What is the problem with the first JComboBox? i need the immediate reply. thank you.