hide();
setVisible(false);
    /* package */ void close() {        // Make sure the previous selection is the current selection.        setCategory( prevCat );        setItemName( prevItem );        // And hide the dialog.        hide();    }