summaryrefslogtreecommitdiff
path: root/java/awt/dnd/DragSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/awt/dnd/DragSource.java')
-rw-r--r--java/awt/dnd/DragSource.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/java/awt/dnd/DragSource.java b/java/awt/dnd/DragSource.java
index 2ab748270..cd4a93a3e 100644
--- a/java/awt/dnd/DragSource.java
+++ b/java/awt/dnd/DragSource.java
@@ -105,16 +105,15 @@ public class DragSource implements Serializable
ds = null;
throw new HeadlessException();
}
-
+
if (ds == null)
ds = new DragSource();
return ds;
}
public static boolean isDragImageSupported()
- throws NotImplementedException
{
- // FIXME: Implement this
+ // In all cases, Sun returns false here.
return false;
}
@@ -140,8 +139,6 @@ public class DragSource implements Serializable
// This function sends the same message to the context, which then forwards
// it to the peer, passing itself as a parameter. Now, the native system has
// access to the Transferable through the context.
-
- // FIXME: Add check to determine if dragging.
try
{
@@ -316,7 +313,7 @@ public class DragSource implements Serializable
/**
* TODO
- * @return
+ * @return TODO
*
* @since 1.5
*/
@@ -324,6 +321,6 @@ public class DragSource implements Serializable
throws NotImplementedException
{
// FIXME: Not implemented.
- return 4;
+ return 8;
}
} // class DragSource