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

[982 byte] By [sbandyopa] at [2007-11-27 2:30:59]
# 1
Please post Swing questions in the Swing forum: http://forum.java.sun.com/forum.jspa?forumID=57
DrLaszloJamfa at 2007-7-12 2:45:22 > top of Java-index,Java Essentials,Java Programming...