git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f623577
)
Jbinit
author
amwaterhouse
<Andrew Waterhouse>
Mon, 12 Dec 2005 14:20:09 +0000
(14:20 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 12 Dec 2005 14:20:09 +0000
(14:20 +0000)
src/jalview/appletgui/FontChooser.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/FontChooser.java
b/src/jalview/appletgui/FontChooser.java
index
27e2a93
..
5f44b39
100755
(executable)
--- a/
src/jalview/appletgui/FontChooser.java
+++ b/
src/jalview/appletgui/FontChooser.java
@@
-51,13
+51,22
@@
public class FontChooser
\r
public FontChooser(AlignmentPanel ap)
\r
{
\r
+ try
\r
+ {
\r
+ jbInit();
\r
+ }
\r
+ catch (Exception e)
\r
+ {
\r
+ e.printStackTrace();
\r
+ }
\r
+
\r
this.ap = ap;
\r
oldFont = ap.av.getFont();
\r
init();
\r
}
\r
\r
void init()
\r
- {
\r
+ {
\r
String fonts[] = Toolkit.getDefaultToolkit().getFontList();
\r
for (int i = 0; i < fonts.length; i++)
\r
{
\r