summaryrefslogtreecommitdiff
path: root/java/awt
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2007-12-25 04:11:17 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2007-12-25 04:11:17 +0000
commit6f77a3d70fc46917a80fc80afa5a0878476979a1 (patch)
tree7a6262bc4f6dbb5e50b39d14bca7b620bb975171 /java/awt
parent78e0b0976e03555b777a3171e7942a43f9ad11bb (diff)
downloadclasspath-6f77a3d70fc46917a80fc80afa5a0878476979a1.tar.gz
2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/34580: * java/awt/Desktop.java: (isDesktopSupported()): Made public.
Diffstat (limited to 'java/awt')
-rw-r--r--java/awt/Desktop.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/awt/Desktop.java b/java/awt/Desktop.java
index 8010464c0..227b8b192 100644
--- a/java/awt/Desktop.java
+++ b/java/awt/Desktop.java
@@ -120,7 +120,7 @@ public class Desktop
}
/**
- * Returns an istance of the Desktop Class.
+ * Returns an instance of the Desktop Class.
*
* If this implementation does not support Desktop, an
* UnsupportedOperationException will be thrown.
@@ -155,7 +155,7 @@ public class Desktop
* @return true if this class is supported on the current platform;
* false otherwise
*/
- private static boolean isDesktopSupported()
+ public static boolean isDesktopSupported()
{
if (GraphicsEnvironment.isHeadless())
return false;