if (lisEntities.getSelectedIndex() == -1) {
return;
}
Entity entity = client.game.getEntity(entityCorrespondance[lisEntities
.getSelectedIndex()]);
MechView mechView = new MechView(entity, client.game.getOptions()
.booleanOption("show_bay_detail"));
JTextArea ta = new JTextArea();
ta.setEditable(false);
ta.setFont(new Font("Monospaced", Font.PLAIN, 12)); //$NON-NLS-1$
ta.setText(mechView.getMechReadout());
final JDialog dialog = new JDialog(clientgui.frame, Messages
.getString("ChatLounge.quickView"), false); //$NON-NLS-1$
JButton btn = new JButton(Messages.getString("Okay")); //$NON-NLS-1$
dialog.add("South", btn); //$NON-NLS-1$
btn.addActionListener(new ActionListener() {