2003/11/18 10:47:26
[org.ibex.core.git] / src / org / xwt / Platform.java
index 00b00d2..aada999 100644 (file)
@@ -69,6 +69,7 @@ public class Platform {
             // Disable 2d hardware acceleration on Jaguar
             if (os_name.equals("Mac OS X") && os_version.startsWith("10.2")) System.setProperty("com.apple.hwaccel", "false");
             */
+            System.setProperty("com.apple.hwaccel", "true");
 
             if (platform_class != null) {
                 platform = (Platform)Class.forName("org.xwt.plat." + platform_class).newInstance();
@@ -212,7 +213,7 @@ public class Platform {
 
     /** displays a platform-specific "open file" dialog and returns the chosen filename, or null if the user hit cancel */
     protected String _fileDialog(String suggestedFileName, boolean write) { return null; }
-    public static String fileDialog(String suggestedFileName, boolean write) throws org.xwt.js.JS.Exn {
+    public static String fileDialog(String suggestedFileName, boolean write) throws org.xwt.js.JSExn {
         return platform._fileDialog(suggestedFileName, write);
     }