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
use new utility class for platform info
[jalview.git]
/
src
/
jalview
/
appletgui
/
AlignViewport.java
diff --git
a/src/jalview/appletgui/AlignViewport.java
b/src/jalview/appletgui/AlignViewport.java
index
a4708c6
..
f543dd9
100755
(executable)
--- a/
src/jalview/appletgui/AlignViewport.java
+++ b/
src/jalview/appletgui/AlignViewport.java
@@
-122,11
+122,8
@@
public class AlignViewport
this.endSeq = al.getHeight() - 1;
setFont(font);
- if (System.getProperty("os.name").startsWith("Mac"))
- {
- MAC = true;
- }
-
+ MAC = new jalview.util.Platform().isAMac();
+
if (applet != null)
{
String param = applet.getParameter("showFullId");