butNextTarg = new Button("Next Target"); butNextTarg.addActionListener(this); butNextTarg.setEnabled(false);
    public FiringDisplay(Client client) {        this.client = client;        client.addGameListener(this);                client.game.board.addBoardListener(this);                shiftheld = false;            // fire        attacks = new Vector();        labStatus = new Label("Waiting to begin Weapon Attack phase...", Label.CENTER);                butFire = new Button("Fire");        butFire.addActionListener(this);        butFire.setEnabled(false);                butSkip = new Button("Skip");        butSkip.addActionListener(this);        butSkip.setEnabled(false);                butTwist = new Button("Twist");        butTwist.addActionListener(this);        butTwist.setEnabled(false);                butFindClub = new Button("Find Club");        butFindClub.addActionListener(this);        butFindClub.setEnabled(false);                butAim = new Button("Aim");        butAim.addActionListener(this);        butAim.setEnabled(false);                        butSpace = new Button(".");        butSpace.setEnabled(false);        butSpace1 = new Button(".");        butSpace1.setEnabled(false);        butSpace2 = new Button(".");        butSpace2.setEnabled(false);        butDone = new Button("Done");        butDone.addActionListener(this);        butDone.setEnabled(false);                butNext = new Button(" Next Unit ");        butNext.addActionListener(this);        butNext.setEnabled(false);                butMore = new Button("More...");        butMore.addActionListener(this);        butMore.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(client.bv, gridbag, c);        c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        addBag(labStatus, gridbag, c);        c.gridwidth = 1;        c.weightx = 1.0;    c.weighty = 0.0;        addBag(client.cb.getComponent(), gridbag, c);        c.gridwidth = GridBagConstraints.REMAINDER;        c.weightx = 0.0;    c.weighty = 0.0;        addBag(panButtons, gridbag, c);                addKeyListener(this);                // mech display.        client.mechD.addMouseListener(this);        client.mechD.wPan.weaponList.addItemListener(this);        client.mechD.wPan.weaponList.addKeyListener(this);        client.frame.addComponentListener(this);        }