mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
Menus: support switching "underline" menu selection type at any time without updating UI (issue #49)
This commit is contained in:
@@ -64,7 +64,9 @@ public class FlatMenusTest
|
||||
|
||||
private void underlineChanged() {
|
||||
UIManager.put( "MenuItem.selectionType", underlineCheckBox.isSelected() ? "underline" : null );
|
||||
FlatLaf.updateUI();
|
||||
|
||||
if( armedCheckBox.isSelected() )
|
||||
FlatLaf.updateUI();
|
||||
}
|
||||
|
||||
private void showPopupMenuButtonActionPerformed(ActionEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user