FileDocCategorySizeDatePackage
choice11.javaAPI DocExample1303Mon Mar 24 02:05:02 GMT 1997None

MyChoice11

public class MyChoice11 extends Choice

Fields Summary
Constructors Summary
MyChoice11()

	super ();
	enableEvents (AWTEvent.ITEM_EVENT_MASK);
    
Methods Summary
protected voidprocessItemEvent(java.awt.event.ItemEvent e)

	ItemSelectable ie = e.getItemSelectable();
	System.out.println ("Item Selected: " + ie.getSelectedObjects()[0]);
	// If you do not call super.processItemEvent()
	// no listener will be notified
	super.processItemEvent (e);