panButtons.add(butSpace); panButtons.add(butSpace2); panButtons.add(butSpace3); panButtons.add(butDone);
    public DeploymentDisplay(Client client) {        this.client = client;        client.addGameListener(this);        client.game.board.addBoardListener(this);        setupStatusBar("Waiting to begin Deployment phase...");        butTurn = new Button("Turn");        butTurn.addActionListener(this);        butTurn.setActionCommand(DEPLOY_TURN);        butTurn.setEnabled(false);                                butSpace = new Button(".");        butSpace.setEnabled(false);        butSpace2 = new Button(".");        butSpace2.setEnabled(false);        butSpace3 = new Button(".");        butSpace3.setEnabled(false);        butLoad = new Button("Load");        butLoad.addActionListener(this);        butLoad.setActionCommand(DEPLOY_LOAD);        butLoad.setEnabled(false);        butUnload = new Button("Unload");        butUnload.addActionListener(this);        butUnload.setActionCommand(DEPLOY_UNLOAD);        butUnload.setEnabled(false);        butNext = new Button("Next Unit");        butNext.addActionListener(this);        butNext.setActionCommand(DEPLOY_NEXT);        butNext.setEnabled(true);        butDone = new Button("Deploy");        butDone.addActionListener(this);        butDone.setEnabled(false);        // layout button grid        panButtons = new Panel();        panButtons.setLayout(new GridLayout(2, 4));        panButtons.add(butNext);        panButtons.add(butTurn);        panButtons.add(butLoad);        panButtons.add(butUnload);        panButtons.add(butSpace);        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(client.bv, gridbag, c);        c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        addBag(panStatus, 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);        addKeyListener(this);    }