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-3253-applet JAL-3424 headless fix for Windows
[jalview.git]
/
src
/
jalview
/
bin
/
Jalview.java
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
7970437
..
2efa0fb
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-398,7
+398,13
@@
public class Jalview implements ApplicationSingletonI, JalviewJSApi
try
{
try
{
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ if (Platform.isWin())
+ {
+ UIManager.setLookAndFeel(
+ headless ? "javax.swing.plaf.metal.MetalLookAndFeel"
+ : UIManager.getSystemLookAndFeelClassName());
+// UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ }
} catch (Exception ex)
{
System.err.println("Unexpected Look and Feel Exception");
} catch (Exception ex)
{
System.err.println("Unexpected Look and Feel Exception");
@@
-2052,8
+2058,8
@@
public class Jalview implements ApplicationSingletonI, JalviewJSApi
public void notifyWorker(AlignCalcWorkerI worker, String status)
{
public void notifyWorker(AlignCalcWorkerI worker, String status)
{
- System.out.println("Jalview worker " + worker.getClass().getSimpleName()
- + " " + status);
+ // System.out.println("Jalview worker " + worker.getClass().getSimpleName()
+ // + " " + status);
}
}
}
}