Solved

The Above Figure Shows a JFrame with a Horizontal JMenuBar

Question 43

Essay

  The above figure shows a JFrame with a horizontal JMenuBar named myMenu that holds two JMenu s: menu1 and menu2 . A submenu and JMenuItem s also exist with the Colors yellows , blues , and greens . Using the add() method, write the statements to add the JMenu s to the JMenuBar , and write the statements to add a submenu and JMenuItem s to the Colors menu. The above figure shows a JFrame with a horizontal JMenuBar named myMenu that holds two JMenu s: menu1 and menu2 . A submenu and JMenuItem s also exist with the Colors yellows , blues , and greens . Using the add() method, write the statements to add the JMenu s to the JMenuBar , and write the statements to add a submenu and JMenuItem s to the Colors menu.

Correct Answer:

verifed

Verified

The following statement adds the JMenu s...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents