// 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();
/** 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);
}