From 6c3f89f3c16ed3b97921b0725c3fe942d19f2f89 Mon Sep 17 00:00:00 2001 From: Caspian Rychlik-Prince Date: Thu, 12 Aug 2004 14:22:37 +0000 Subject: [PATCH] *** empty log message *** --- src/java/org/lwjgl/Sys.java | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/src/java/org/lwjgl/Sys.java b/src/java/org/lwjgl/Sys.java index da4cd176..19311e1f 100644 --- a/src/java/org/lwjgl/Sys.java +++ b/src/java/org/lwjgl/Sys.java @@ -259,28 +259,5 @@ public final class Sys { * Where necessary, we use a native implementation of openURL. */ private static native void nOpenURL(String url); - - /** - * Get the contents of the system clipboard. The system might not have a clipboard - * (particularly if it doesn't even have a keyboard) in which case we return null. - * Otherwise we return a String, which may be the empty string "". - * @return a String, or null if there is no system clipboard. - */ - public static native String getClipboard(); - - /** - * Set the contents of the system clipboard. The system might not have a clipboard - * (particularly if it doesn't even have a keyboard) in which case we silently - * ignore this method as a no-op.

Passing null is allowed and is effectively the - * same as passing the empty string "". - * @param newClip the new clipboard contents - */ - public static void setClipboard(String newClip) { - if (newClip == null) { - newClip = ""; - } - nSetClipboard(newClip); - } - private static native void nSetClipboard(String newClip); - + }