super(clientgui.frame, "Select a Starting Position...", true);
super(clientgui.frame, Messages.getString("StartingPositionDialog.title"), true);
    public StartingPositionDialog(ClientGUI clientgui) {        super(clientgui.frame, "Select a Starting Position...", true);        this.client = clientgui.getClient();                lisStartList.setEnabled(false);        setupStartGrid();        setupButtons();        // layout        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        this.setLayout(gridbag);        c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(4, 4, 4, 4);        c.weightx = 1.0;        c.weighty = 1.0;        c.gridwidth = 1;        gridbag.setConstraints(panStartButtons, c);        this.add(panStartButtons);        c.gridwidth = GridBagConstraints.REMAINDER;        gridbag.setConstraints(lisStartList, c);        this.add(lisStartList);        c.fill = GridBagConstraints.VERTICAL;        gridbag.setConstraints(panButtons, c);        this.add(panButtons);        addWindowListener(new WindowAdapter() {            public void windowClosing(WindowEvent e) {                setVisible(false);            }        });        pack();        setResizable(false);        setLocation(            clientgui.frame.getLocation().x + clientgui.frame.getSize().width / 2 - getSize().width / 2,            clientgui.frame.getLocation().y + clientgui.frame.getSize().height / 2 - getSize().height / 2);    }