(String menuPath)
| 916 | } |
| 917 | |
| 918 | private static Menu getMenu(String menuPath) { |
| 919 | if (GraphicsEnvironment.isHeadless()) |
| 920 | return null; |
| 921 | else |
| 922 | return getMenu(menuPath, false); |
| 923 | } |
| 924 | |
| 925 | private static Menu getMenu(String menuName, boolean readFromProps) { |
| 926 | if (menuName.endsWith(">")) |
no test coverage detected