X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FPlatform.java;h=ef860d41c9f010276c189a0be6525ee7d0ca4c13;hb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;hp=b4241427b1a313898e5250860e9d92bc27640dc6;hpb=a8f483d04205bb8273ee311c12968b7e86d205fa;p=jalview.git diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index b424142..ef860d4 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -1,19 +1,21 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.util; @@ -30,13 +32,13 @@ public class Platform * * @return true if we do things in a special way. */ - public boolean isAMac() + public static boolean isAMac() { return java.lang.System.getProperty("os.name").indexOf("Mac") > -1; } - public boolean isHeadless() + public static boolean isHeadless() { String hdls = java.lang.System.getProperty("java.awt.headless");