aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Urgent:Problem using the drag and drop feature in solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Urgent:Problem using the drag and drop feature in solaris" Watch "Urgent:Problem using the drag and drop feature in solaris" New topic
Author

Urgent:Problem using the drag and drop feature in solaris

murls76
Greenhorn

Joined: Dec 17, 2001
Posts: 2
Hi,
We are using java drag and drop feature in solaris. In windows its working fine. When we try to run the same program in solaris its not working. We are using
JDK1.3.1 in solaris. The error I'm getting when I execute the java drag and drop program in solaris is as follows:
Exception occurred during event dispatching:
The operation requested cannot be performed by the DnD system since it is not in the appropriate state
at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:58)
at java.awt.dnd.DragSource.startDrag(DragSource.java:265)
at java.awt.dnd.DragSource.startDrag(DragSource.java:358)
at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:188)
at com.cns.cce.snmp.gui.MibTree.dragGestureRecognized(MibTree.java:179)
at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:334)
at sun.awt.motif.MMouseDragGestureRecognizer.mouseExited(MMouseDragGestureRecognizer.java:194)
at java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:251)
at java.awt.Component.processMouseEvent(Component.java:3721)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2299)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2189)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Is there any work around for meeting this problem that I face in solaris. The version seems to be compatible to support drag and drop in solaris.
Kindly help us to fix this bug at the earliest.
Thanks in advance,
Muralikrishnan.S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent:Problem using the drag and drop feature in solaris