summaryrefslogtreecommitdiff
path: root/java/awt
diff options
context:
space:
mode:
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;