Java AWT List

The object of List class represents a list of text items. By the help of list, user can choose either one item or multiple items. It inherits Component class.

AWT List class Declaration

Java AWT List Example

Output:

java awt list example 1

Java AWT List Example with ActionListener

Output:

java awt list example 2
Next TopicJava AWT Canvas




Contact US

Email:[email protected]

AWT List
10/30