public class MenuCleaner extends Object
| Constructor and Description |
|---|
MenuCleaner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clean(JMenu menu)
Cleans up the given menu by recursively traversing the menu hierarchy.
|
static void |
clean(JPopupMenu popup)
Cleans up the given popup menu by recursively traversing the menu
hierarchy.
|
public static void clean(JPopupMenu popup)
popup - the target menu to clean uppublic static void clean(JMenu menu)
menu - the target menu to clean upCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.