public void changeHideIcon(boolean hidden) {
        hide.setIcon(hidden ? makeImageIcon("/images/fold_right" + color + ".png") : makeImageIcon
                                                                                             ("/images/fold_left" + color + ".png"));
        hide.setToolTipText(hidden ? "show sidebar" : "hide sidebar");
    }