git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1705 parse 'description' from GFF as sequence description
[jalview.git]
/
src
/
jalview
/
gui
/
FontChooser.java
diff --git
a/src/jalview/gui/FontChooser.java
b/src/jalview/gui/FontChooser.java
index
2ffb166
..
535196e
100755
(executable)
--- a/
src/jalview/gui/FontChooser.java
+++ b/
src/jalview/gui/FontChooser.java
@@
-20,6
+20,10
@@
*/
package jalview.gui;
*/
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 java.awt.Font;
import java.awt.FontMetrics;
import java.awt.event.ActionEvent;
@@
-29,10
+33,6
@@
import javax.swing.JInternalFrame;
import javax.swing.JLayeredPane;
import javax.swing.JOptionPane;
import javax.swing.JLayeredPane;
import javax.swing.JOptionPane;
-import jalview.bin.Cache;
-import jalview.jbgui.GFontChooser;
-import jalview.util.MessageManager;
-
/**
* DOCUMENT ME!
*
/**
* DOCUMENT ME!
*
@@
-249,11
+249,10
@@
public class FontChooser extends GFontChooser
{
final String messageKey = iBounds.getHeight() < 1 ? "label.font_doesnt_have_letters_defined"
: "label.font_too_small";
{
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(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
/*
* Restore the changed value - note this will reinvoke this method via the
* ActionListener, but now validation should pass