for why reason you using AWT to use Swing instead
then Choice should be JComboBox, (Frame/JFrame, Button/JButton)
add ItemListener to JComboBox
ItemListener always fired twice events, SELECTED and DESELECTED,
can to determine, test if ITEM_STATE_CHANGED only
mKorbel
Nearly a Posting Virtuoso
1,230 posts since Feb 2011
Reputation Points: 482
Solved Threads: 244
Skill Endorsements: 14
Question Answered as of 6 Months Ago by
mKorbel
and
radhakrishna.p