new applet and application utility class for platform information
[jalview.git] / src / jalview / util / Platform.java
1 package jalview.util;\r
2 \r
3 /**\r
4  * System platform information used by Applet and Application\r
5  * @author Jim Procter\r
6  */\r
7 public class Platform\r
8 {\r
9   /**\r
10    * sorry folks - Macs really are different\r
11    * @return true if we do things in a special way.\r
12    */\r
13   public boolean isAMac()\r
14   {\r
15     return java.lang.System.getProperty("os.name").indexOf("Mac")>-1;\r
16     \r
17   }\r
18 \r
19 }\r