Java AWT ChoiceThe object of Choice class is used to show popup menu of choices. Choice selected by user is shown on the top of a menu. It inherits Component class. AWT Choice Class DeclarationJava AWT Choice ExampleOutput: Java AWT Choice Example with ActionListenerOutput: Next TopicJava AWT List
|