public boolean isIgnoringEvents() { return this.distracted.isIgnoringEvents(); }   public void setIgnoringEvents( boolean distracted ) { this.distracted.setIgnoringEvents( distracted ); }   public Button getDoneButton() { return butDone; }   public void removeAllListeners() { client.removeGameListener(this); client.game.board.removeBoardListener(this); }   public Component getSecondaryDisplay() { return labStatus; }
                loadMech();            } catch (Exception e) {                System.out.println("Thread.join() exception in ChatLounge.loadMech()");            }        } else if (ev.getSource() == butCustom ||  ev.getSource() == lisEntities) {            customizeMech();        } else if (ev.getSource() == butDelete) {            // delete mech            if (lisEntities.getSelectedIndex() != -1) {                client.sendDeleteEntity(entityCorrespondance[lisEntities.getSelectedIndex()]);            }        } else if (ev.getSource() == butDeleteAll) {            // Build a Vector of this player's entities.            Vector currentUnits = client.game.getPlayerEntities                ( client.getLocalPlayer() );            // Walk through the vector, deleting the entities.            Enumeration entities = currentUnits.elements();            while ( entities.hasMoreElements() ) {                final Entity entity = (Entity) entities.nextElement();                client.sendDeleteEntity( entity.getId() );            }        } else if (ev.getSource() == butChangeBoard || ev.getSource() == lisBoardsSelected) {            // board settings            client.getBoardSelectionDialog().update(client.getMapSettings(), true);            client.getBoardSelectionDialog().show();        } else if (ev.getSource() == butOptions) {            // Make sure the game options dialog is editable.            if ( !client.getGameOptionsDialog().isEditable() ) {                client.getGameOptionsDialog().setEditable( true );            }            // Display the game options dialog.            client.getGameOptionsDialog().update(client.game.getOptions());            client.getGameOptionsDialog().show();        } else if (ev.getSource() == butChangeStart || ev.getSource() == lisStarts) {            client.getStartingPositionDialog().update();            client.getStartingPositionDialog().show();        } else if (ev.getSource() == butMechReadout) {            mechReadout();        }        else if ( ev.getSource() == butLoadList ) {            // Allow the player to replace their current            // list of entities with a list from a file.            client.loadListFile();        }        else if ( ev.getSource() == butSaveList ) {            // Allow the player to save their current            // list of entities to a file.            client.saveListFile                ( client.game.getPlayerEntities(client.getLocalPlayer()) );        } else if (ev.getSource() == butMinefield) {        	updateMinefield();        }        else if (ev.getSource() == butCamo) {            camoDialog.show();        }    } }