Chapter 13: Problem 17
What class do you use to create a menu? What do you pass to the class constructor?
Short Answer
Expert verified
Answer: To create a menu in a desktop application using Java Swing, you should use the `JMenu` class. When creating an instance of this class, you should pass the menu title (e.g., "File") to the class constructor.