private JPopupMenu getPopupMenu() {
        JPopupMenu popupMenu = new JPopupMenu();
        JMenuItem menuItem;
        Action[] actions = {newToolAction, editToolAction, deleteToolAction, newPhotoAction};
        for(Action action : actions) {
            menuItem = new JMenuItem(action);
            menuItem.setIcon(null);
            popupMenu.add(menuItem);
        }
        
        return popupMenu;
    }