this.currentFrame = frame;
    private void init( Frame frame, GameOptions options ) {        this.options = options;                scrOptions.add(panOptions);        scrOptions.getVAdjustable().setUnitIncrement(10);                texDesc.setEditable(false);                setupButtons();        setupPassword();                        // layout        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        setLayout(gridbag);                    c.insets = new Insets(1, 1, 1, 1);        c.weightx = 1.0;    c.weighty = 1.0;        c.fill = GridBagConstraints.BOTH;        c.gridwidth = GridBagConstraints.REMAINDER;        gridbag.setConstraints(scrOptions, c);        add(scrOptions);                    c.weightx = 1.0;    c.weighty = 0.0;        gridbag.setConstraints(texDesc, c);        add(texDesc);                gridbag.setConstraints(panPassword, c);        add(panPassword);                gridbag.setConstraints(panButtons, c);        add(panButtons);                addWindowListener(new WindowAdapter() {                public void windowClosing(WindowEvent e) { setVisible(false); }            });                pack();        setSize(getSize().width, Math.max(getSize().height, 400));        setResizable(false);        setLocation(frame.getLocation().x + frame.getSize().width/2 - getSize().width/2,                    frame.getLocation().y + frame.getSize().height/2 - getSize().height/2);        savedAlert = new AlertDialog(frame, Messages.getString("GameOptionsDialog.OptionSavedDialog.title"), Messages.getString("GameOptionsDialog.OptionSavedDialog.message")); //$NON-NLS-1$ //$NON-NLS-2$    }