System.err.println("hide");
    public void hide() {        if (frame != null) {            if (frame instanceof SFrame)                ((SFrame)frame).popDialog();            else                ((SInternalFrame)frame).popDialog();        }    }