dialog.add(Messages.getString("ChatLounge.South"), btn);
dialog.add("South", btn);
    public void mechReadout() {        if (lisEntities.getSelectedIndex() == -1) {            return;        }        Entity entity = client.game.getEntity(entityCorrespondance[lisEntities.getSelectedIndex()]);        MechView mechView = new MechView(entity);        TextArea ta = new TextArea();        ta.setEditable(false);        ta.setFont(new Font("Monospaced", Font.PLAIN, 12)); //$NON-NLS-1$        ta.setText(mechView.getMechReadout());        final Dialog dialog = new Dialog(clientgui.frame, Messages.getString("ChatLounge.quickView"), false); //$NON-NLS-1$        Button btn = new Button(Messages.getString("Okay")); //$NON-NLS-1$        dialog.add(Messages.getString("ChatLounge.South"), btn); //$NON-NLS-1$        btn.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(ActionEvent e) {                dialog.setVisible(false);            }        });        dialog.addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(WindowEvent e) {                dialog.setVisible(false);            }        });        dialog.add(Messages.getString("ChatLounge.Center"), ta); //$NON-NLS-1$        // Preview image of the Mech...        BufferedPanel panPreview = new BufferedPanel();        panPreview.setPreferredSize(84, 72);        clientgui.loadPreviewImage(panPreview, entity);        dialog.add(Messages.getString("ChatLounge.North"), panPreview); //$NON-NLS-1$        dialog.setLocation(            clientgui.frame.getLocation().x + clientgui.frame.getSize().width / 2 - dialog.getSize().width / 2,            clientgui.frame.getLocation().y + clientgui.frame.getSize().height / 5 - dialog.getSize().height / 2);        dialog.setSize(300, 450);        dialog.validate();        dialog.show();    }