nuptboyzhb / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

Drag and Drop does not work at all #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Drag any widget and drop it on black box, nothing appears
Works in office not at home.
2.
3.

What is the expected output? What do you see instead?
The widgt should appear on the black box, but nothing appears

What version of the product are you using? On what operating system?
Windows 7 all browsers
Firefox 3.6,4
Chorome
IE 8

Please provide any additional information below.

Original issue reported on code.google.com by solankia...@gmail.com on 10 Jul 2010 at 7:18

GoogleCodeExporter commented 8 years ago
Same issue: Windows XP, Firefox 3.6.6

Below is the debug information from the Java console
---------------------- debug ----------------------------------

........
Loaded image: http://droiddraw.googlecode.com/files/ui/def/spinner_normal.9.png
Loaded image: 
http://droiddraw.googlecode.com/files/ui/def/btn_dropdown_neither.9.png
Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: 
access denied (java.awt.AWTPermission accessClipboard)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkSystemClipboardAccess(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(Unknown Source)
    at sun.awt.datatransfer.TransferableProxy.getTransferData(Unknown Source)
    at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(Unknown Source)
    at org.droiddraw.gui.Viewer.drop(Viewer.java:190)
    at java.awt.dnd.DropTarget.drop(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
    at org.droiddraw.gui.ViewerListener.createWidget(ViewerListener.java:90)
    at org.droiddraw.gui.Viewer.drop(Viewer.java:192)
    at java.awt.dnd.DropTarget.drop(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Original comment by eelco.uy...@gmail.com on 20 Jul 2010 at 5:05

GoogleCodeExporter commented 8 years ago
Fixed! This was a Java issue in 1.6.0_20. With 1.6.0_21, this problem seems to 
be solved.

Original comment by mobiceb...@gmail.com on 26 Jul 2010 at 11:05

GoogleCodeExporter commented 8 years ago

Original comment by brendan....@gmail.com on 6 Sep 2010 at 4:33