Drag and drop problem from wizard inside another drop
I am using JDK 1.5.0_11 Swing.
I am facing a Drag and Drop problem which is described below:
A drag and drop operation invokes a wizard, from which another wizard is invoked. Within one of the panels of this 2nd wizard, I am trying to do a drag and drop from a JTextarea to a JTree node, but am NOT able to. I am not getting any exceptions. I have written a transfer handler for the JTree node to handle the text transfers from a JTextArea. When I try to do a drag and drop from a JTree node to another JTree node I'm getting the 'InvalidDNDOperation: drag and drop in progress' exception.
When the 2nd wizard is invoked directly, I am able to do the drag and drop from JTextArea to a JTree node and also from a JTree node to another JTree node.
I tried spawning a new thread for the 2nd wizard, but am still unable to initiate drag and drop.
Should I be spawning a new thread for the 1st wizard?
Message was edited by:
sbandyop

