@Override
    public void actionPerformed(ActionEvent e) {
	String command = e.getActionCommand();
	if ("New Collection".equals(command)) {
	    doNewCollection();
	} else if ("Edit Collection".equals(command)) {
	    doEditCollection();
	} else if ("Delete Collection".equals(command)) {
	    doDeleteCollection();
	} else if ("New Media Item".equals(command)) {
	    doNewMediaItem();
	} else if ("Edit Media Item".equals(command)) {
	    doEditMediaItem();
	} else if ("Delete Media Item".equals(command)) {
	    doDeleteMediaItem();
	} else if ("About".equals(command)) {
	    doAbout();
	} else if ("Profiles...".equals(command)) {
	    doProfiles();
	} else if ("Exit".equals(command)) {
	    doExit();
	}
    }