setTitle(TITLE); setModal(true);
setProperties();
    public ImgSaver(JFrame owner, ImViewer model)    {        super(owner);        if (model == null) throw new IllegalArgumentException("No model.");        this.model = model;        setTitle(TITLE);        setModal(true);        uiDelegate = new ImgSaverUI(this);        pack();    }