I'm trying to create a JApplet that has several JComboBoxes. I have it designed but don't know how to get event handling to work. Does anyone know the JApplet equivalant of the following as this works with normal applets
public void itemStateChanged(ItemEvent e)
if(e.getSource() instanceof Choice)
userChoice = track.getSelectedItem();
note that track is just the name of a JComboBox.
Thanks for your time.