Author: abelevich
Date: 2010-12-03 05:54:00 -0500 (Fri, 03 Dec 2010)
New Revision: 20337
Modified:
sandbox/trunk/examples/dnd-demo/src/main/java/org/demo/DataBean.java
Log:
use new drop event api
Modified: sandbox/trunk/examples/dnd-demo/src/main/java/org/demo/DataBean.java
===================================================================
--- sandbox/trunk/examples/dnd-demo/src/main/java/org/demo/DataBean.java 2010-12-03
10:53:37 UTC (rev 20336)
+++ sandbox/trunk/examples/dnd-demo/src/main/java/org/demo/DataBean.java 2010-12-03
10:54:00 UTC (rev 20337)
@@ -54,7 +54,7 @@
}
public void processEvent(DropEvent event) {
- String value = (String)event.getDragValue();
+ String value = (String)event.getDragSource().getDragValue();
dropValues.add(value);
System.out.println("DataBean.processEvent()");
}
Show replies by date