Java AWT Choice

The 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 Declaration

Java AWT Choice Example

Output:

java awt choice example 1

Java AWT Choice Example with ActionListener

Output:

java awt choice example 2
Next TopicJava AWT List




Hot Tutorials

Contact US

Email:jjw.quan@gmail.com

AWT Choice
10/30