this.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { e.getWindow().setVisible(false);}});
    MechGroupView(Frame frame, Client c, int[] eA) {        super(frame, Messages.getString("MechGroupView.title"));        client = c;        entityArray = eA;        for (int i = 0; i < entityArray.length; i ++) {            Entity entity = client.game.getEntity(entityArray[i]);            // Handle the "Blind Drop" option.            if (entity == null)                continue;            if (!entity.getOwner().equals(client.getLocalPlayer())                && client.game.getOptions().booleanOption("blind_drop")                && !client.game.getOptions().booleanOption("real_blind_drop")) {                entities.add(ChatLounge.formatUnit(entity, true));            } else if (entity.getOwner().equals(client.getLocalPlayer())                       || (!client.game.getOptions().booleanOption("blind_drop")                           && !client.game.getOptions().booleanOption("real_blind_drop"))) {                entities.add(ChatLounge.formatUnit(entity, false));            }        }        this.setLayout(new BorderLayout());        this.add(entities, BorderLayout.WEST);        this.add(closeButton, BorderLayout.SOUTH);        ta.setEditable(false);        ta.setFont(new Font("Monospaced", Font.PLAIN, 12));        this.add(ta, BorderLayout.CENTER);        entities.addItemListener(this);        closeButton.addActionListener(this);        this.setSize(550,600);        this.setLocation(            frame.getLocation().x + frame.getSize().width / 2 - this.getSize().width / 2,            frame.getLocation().y + frame.getSize().height / 10);    }