butDone = new Button("Done");
butDone = new Button(Messages.getString("DeployMinefieldDisplay.Done"));
    public DeployMinefieldDisplay(ClientGUI clientgui) {        this.clientgui = clientgui;        this.client = clientgui.getClient();        client.addGameListener(this);        client.game.board.addBoardListener(this);        setupStatusBar("Waiting to begin Deploy minefield phase...");		p = client.getLocalPlayer();		        butM = new Button("Minefield(" + p.getNbrMFConventional() + ")");        butM.addActionListener(this);        butM.setActionCommand(DEPLOY_MINE_CONV);        butM.setEnabled(false);//         butSpace = new Button(".");//         butSpace.setEnabled(false);//         butSpace1 = new Button(".");//         butSpace1.setEnabled(false);//         butSpace2 = new Button(".");//         butSpace2.setEnabled(false);//         butSpace3 = new Button(".");//         butSpace3.setEnabled(false);        butC = new Button("Command(" + p.getNbrMFCommand() + ")");        butC.addActionListener(this);        butC.setActionCommand(DEPLOY_MINE_COM);        butC.setEnabled(false);        butUnload = new Button(".");        butUnload.addActionListener(this);        butUnload.setEnabled(false);        butV = new Button("Vibrabomb(" + p.getNbrMFVibra() + ")");        butV.addActionListener(this);        butV.setActionCommand(DEPLOY_MINE_VIBRA);        butV.setEnabled(false);        butDone = new Button("Done");        butDone.addActionListener(this);        butDone.setEnabled(false);        // layout button grid        panButtons = new Panel();        panButtons.setLayout(new GridLayout(0, 8));        panButtons.add(butM);        panButtons.add(butC);        panButtons.add(butV);//         panButtons.add(butSpace);//         panButtons.add(butSpace1);//         panButtons.add(butSpace2);//         panButtons.add(butSpace3);//         panButtons.add(butDone);        // layout screen        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        setLayout(gridbag);        c.fill = GridBagConstraints.BOTH;        c.weightx = 1.0;    c.weighty = 1.0;        c.insets = new Insets(1, 1, 1, 1);//         c.gridwidth = GridBagConstraints.REMAINDER;//         addBag(clientgui.bv, gridbag, c);//         c.weightx = 1.0;    c.weighty = 0;//         c.gridwidth = 1;//         addBag(client.cb.getComponent(), gridbag, c);        c.gridwidth = GridBagConstraints.REMAINDER;        c.weightx = 0.0;    c.weighty = 0.0;        addBag(panButtons, gridbag, c);        c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        addBag(panStatus, gridbag, c);        clientgui.bv.addKeyListener( this );        addKeyListener(this);    }