butMechReadout.setEnabled(selected);
if ( selected && client.game.getOptions().booleanOption("blind_drop") ) { Entity entity = client.game.getEntity ( entityCorrespondance[lisEntities.getSelectedIndex()] ); butMechReadout.setEnabled ( entity.getOwner().equals(client.getLocalPlayer()) ); } else { butMechReadout.setEnabled(selected); }
    public void itemStateChanged(ItemEvent ev) {        if (ev.getSource() == choColor) {            changeColor(choColor.getSelectedIndex());        } else if (ev.getSource() == choTeam) {            changeTeam(choTeam.getSelectedIndex());        } else if (ev.getSource() == chkBV || ev.getSource() == chkTons) {            refreshBVs();        } else if (ev.getSource() == lisEntities) {            boolean selected = lisEntities.getSelectedIndex() != -1;            butCustom.setEnabled(selected);            butMechReadout.setEnabled(selected);            butDelete.setEnabled(selected);        }            }