summaryrefslogtreecommitdiff
path: root/java/awt/dnd/DragSource.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2006-08-12 13:27:52 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2006-08-12 13:27:52 +0000
commit32bb0e9c211961fbade190535b8041ece5df772c (patch)
tree0c38bf4c10cc99e5da5d47c2830efb3c8e81d2a5 /java/awt/dnd/DragSource.java
parentd2f33039bd87de27b08ce88a7865d499b9b64c82 (diff)
downloadclasspath-32bb0e9c211961fbade190535b8041ece5df772c.tar.gz
2006-08-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
* Merge of HEAD --> generics-branch for release 0.92 to 2006/08/12.
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