In the Java programming language what is the best way to create a drop-down menu using the choice class, and please include examples if possible?
In the Java Programming la nguage,what is the best way to use the choice class?
The Choice class presents a pop-up menu of choices. The current choice is displayed as the title of the menu.
The following code example produces a pop-up menu:
--------------------------------------...
Choice ColorChooser = new Choice();
ColorChooser.add("Green");
ColorChooser.add("Red");
ColorChooser.add("Blue");
flowers online
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment