public static JMenu loadMenu(String name) {
        String menuItemNames = App.getProperty(name);
        String display = App.getProperty(name.concat(".label"));
        if (display == null) {
            display = name;
        }
        JMenu menu = new JMenu(display);
        StringTokenizer st = new StringTokenizer(menuItemNames);
        String menuItem = "";
        while (st.hasMoreTokens()) {
            menuItem = st.nextToken();
            if (menuItem.equals("-")) {
                menu.addSeparator();
            } else {
                menu.add(loadMenuItem(menuItem));
            }
        }
        return menu;
    }