butSpace.addKeyListener(this);
    public MovementDisplay(ClientGUI clientgui) {        this.clientgui = clientgui;        this.client = clientgui.getClient();        client.game.addGameListener(this);        gear = MovementDisplay.GEAR_LAND;        shiftheld = false;        clientgui.getBoardView().addBoardViewListener(this);        setupStatusBar(Messages.getString("MovementDisplay.waitingForMovementPhase")); //$NON-NLS-1$        butClear = new Button(Messages.getString("MovementDisplay.butClear")); //$NON-NLS-1$        butClear.addActionListener(this);        butClear.setEnabled(false);        butClear.setActionCommand(MOVE_CLEAR);        butWalk = new Button(Messages.getString("MovementDisplay.butWalk")); //$NON-NLS-1$        butWalk.addActionListener(this);        butWalk.setEnabled(false);        butWalk.setActionCommand(MOVE_WALK);        butJump = new Button(Messages.getString("MovementDisplay.butJump")); //$NON-NLS-1$        butJump.addActionListener(this);        butJump.setEnabled(false);        butJump.setActionCommand(MOVE_JUMP);        butBackup = new Button(Messages.getString("MovementDisplay.butBackup")); //$NON-NLS-1$        butBackup.addActionListener(this);        butBackup.setEnabled(false);        butBackup.setActionCommand(MOVE_BACK_UP);        butTurn = new Button(Messages.getString("MovementDisplay.butTurn")); //$NON-NLS-1$        butTurn.addActionListener(this);        butTurn.setEnabled(false);        butTurn.setActionCommand(MOVE_TURN);        butUp = new Button(Messages.getString("MovementDisplay.butUp")); //$NON-NLS-1$        butUp.addActionListener(this);        butUp.setEnabled(false);        butUp.setActionCommand(MOVE_GET_UP);        butDown = new Button(Messages.getString("MovementDisplay.butDown")); //$NON-NLS-1$        butDown.addActionListener(this);        butDown.setEnabled(false);        butDown.setActionCommand(MOVE_GO_PRONE);        butCharge = new Button(Messages.getString("MovementDisplay.butCharge")); //$NON-NLS-1$        butCharge.addActionListener(this);        butCharge.setEnabled(false);        butCharge.setActionCommand(MOVE_CHARGE);        butDfa = new Button(Messages.getString("MovementDisplay.butDfa")); //$NON-NLS-1$        butDfa.addActionListener(this);        butDfa.setEnabled(false);        butDfa.setActionCommand(MOVE_DFA);        butFlee = new Button(Messages.getString("MovementDisplay.butFlee")); //$NON-NLS-1$        butFlee.addActionListener(this);        butFlee.setEnabled(false);        butFlee.setActionCommand(MOVE_FLEE);        butEject = new Button(Messages.getString("MovementDisplay.butEject")); //$NON-NLS-1$        butEject.addActionListener(this);        butEject.setEnabled(false);        butEject.setActionCommand(MOVE_EJECT);        butRAC = new Button(Messages.getString("MovementDisplay.butRAC")); //$NON-NLS-1$        butRAC.addActionListener(this);        butRAC.setEnabled(false);        butRAC.setActionCommand(MOVE_UNJAM);        butMore = new Button(Messages.getString("MovementDisplay.butMore")); //$NON-NLS-1$        butMore.addActionListener(this);        butMore.setEnabled(false);        butNext = new Button(Messages.getString("MovementDisplay.butNext")); //$NON-NLS-1$        butNext.addActionListener(this);        butNext.setEnabled(false);        butNext.setActionCommand(MOVE_NEXT);        butDone = new Button(Messages.getString("MovementDisplay.butDone")); //$NON-NLS-1$        butDone.addActionListener(this);        butDone.setEnabled(false);        butLoad = new Button(Messages.getString("MovementDisplay.butLoad")); //$NON-NLS-1$        butLoad.addActionListener(this);        butLoad.setEnabled(false);        butLoad.setActionCommand(MOVE_LOAD);        butUnload = new Button(Messages.getString("MovementDisplay.butUnload")); //$NON-NLS-1$        butUnload.addActionListener(this);        butUnload.setEnabled(false);        butUnload.setActionCommand(MOVE_UNLOAD);                butRaise = new Button(Messages.getString("MovementDisplay.butRaise"));        butRaise.addActionListener(this);        butRaise.setEnabled(false);        butRaise.setActionCommand(MOVE_RAISE_ELEVATION);                butLower = new Button(Messages.getString("MovementDisplay.butLower"));        butLower.addActionListener(this);        butLower.setEnabled(false);        butLower.setActionCommand(MOVE_LOWER_ELEVATION);                butSpace = new Button("."); //$NON-NLS-1$        butSpace.setEnabled(false);        // layout button grid        panButtons = new Panel();        buttonLayout = 0;        setupButtonPanel();        // 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 );    }