label.setFont(PLAIN_FONT_10);
label.setFont(MatrixTreeBus.getActiveTree().getFontInUse());
	private ErrorDialog(String message, String title) {		JPanel contentPane = new JPanel(new BorderLayout());		setContentPane(contentPane);		Border border = new EmptyBorder(1, 1, 1, 1);		contentPane.setBorder(border);		JPanel midPanel = new JPanel();		midPanel.setBackground(MatrixLookAndFeel.PANEL_COLOUR);		JLabel label = new JLabel(message);		label.setFont(PLAIN_FONT_10);		midPanel.add(label);		contentPane.add(getTopPanel(title), BorderLayout.NORTH);		contentPane.add(midPanel, BorderLayout.CENTER);		JPanel bottomPanel = new JPanel();		JLabel okButton = new JLabel();		okButton.setIcon(GUIUtilities.getAssetMapIcon("ok.png"));		closeOnClick(okButton, "ok");		/*	// mouse events		okButton.addMouseListener(new MouseAdapter(){			public void mouseClicked(MouseEvent e){				setCursor(DEFAULT_CURSOR);				dispose();			}			public void mouseExited(MouseEvent e) {				setCursor(DEFAULT_CURSOR);				okButton.setIcon(GUIUtilities.getAssetMapIcon("ok.png"));			}			public void mouseEntered(MouseEvent e) {				setCursor(HAND_CURSOR);				okButton.setIcon(GUIUtilities.getAssetMapIcon("ok_on.png"));			}		});*/		okButton.setOpaque(false);		bottomPanel.add(okButton);		bottomPanel.setBackground(MatrixLookAndFeel.PANEL_COLOUR);				contentPane.add(bottomPanel, BorderLayout.SOUTH);		contentPane.setBackground(MatrixLookAndFeel.PANEL_BORDER_COLOUR);		enableDrag(contentPane);		FontMetrics fm = getFontMetrics(label.getFont());		int textWidth = fm.stringWidth(label.getText());		setSize(textWidth + 32, 125);		addKeyListener(this);	}