Week 13 Java summary

experiment

to sum up

Menu component

JMenu class and class JMenuBar

JMenu menu component can be realized, the function is used to display JMenuBar JMenu component assembly, when establishing a plurality JMenu After assembly, the components need to be added to the window JMenu by JMenuBar assembly.

JMenu categories:

JMenuBar categories:

JMenuItem class

JMenuItem enables you to create a menu item to the menu.

Guess you like

Origin www.cnblogs.com/chixue/p/11916919.html