MenuSelectionManager « Swing « Java Tutorial






14.28.MenuSelectionManager
14.28.1.Using MenuSelectionManager to determine the current selection path.Using MenuSelectionManager to determine the current selection path.
14.28.2.Getting the Currently Selected Menu or Menu Item
14.28.3.Create a change listener and register with the menu selection manager
14.28.4.Listening for Changes to the Currently Selected Menu or Menu Item