@Override
	public void handleMenuEvent(ActionEvent ae) {
		// Dispatch the menu action
		if (ae.getSource() instanceof JMenuItem) {
			JMenuItem mi = (JMenuItem)ae.getSource();
			if (mi.getText().equalsIgnoreCase(MENU_FOLDER_CREATE)) {
				createFolder();
			} else if (mi.getText().equalsIgnoreCase(MENU_FOLDER_RENAME)) {
				renameFolder();
			} else if (mi.getText().equalsIgnoreCase(MENU_FOLDER_DELETE)) {
				deleteFolder();
			} else if (mi.getText().equalsIgnoreCase(MENU_FOLDER_SORT)) {
				sortFolder();
			} else if (mi.getText().equalsIgnoreCase(MENU_ITEM_CREATE + itemName)) {
				createItem();
			} else if (mi.getText().equalsIgnoreCase(MENU_ITEM_EDIT + itemName)) {
				editItem();
			} else if (mi.getText().equalsIgnoreCase(MENU_ITEM_DELETE + itemName)) {
				deleteItem();
			}
		}
	}