/*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
*
* This file is part of Jalview.
*
*/
package jalview.gui;
+import jalview.bin.Cache;
+import jalview.jbgui.GFontChooser;
+import jalview.util.MessageManager;
+
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.event.ActionEvent;
import javax.swing.JLayeredPane;
import javax.swing.JOptionPane;
-import jalview.bin.Cache;
-import jalview.jbgui.GFontChooser;
-import jalview.util.MessageManager;
-
/**
* DOCUMENT ME!
*
{
final String messageKey = iBounds.getHeight() < 1 ? "label.font_doesnt_have_letters_defined"
: "label.font_too_small";
- JOptionPane
- .showInternalMessageDialog(
- this,
+ JOptionPane.showInternalMessageDialog(this,
MessageManager.getString(messageKey),
- MessageManager.getString("label.invalid_font"), JOptionPane.WARNING_MESSAGE);
+ MessageManager.getString("label.invalid_font"),
+ JOptionPane.WARNING_MESSAGE);
/*
* Restore the changed value - note this will reinvoke this method via the
* ActionListener, but now validation should pass