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

public class List extends Component implements ItemSelectable, Accessible

Java AWT List Example

Flash Soon


Output:

Java AWT List Example with ActionListener

Flash Soon


Output:


Advertisement

Copyright ©2017 Design& develop