drag and drop causes application to hang
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   George_Francis
Posted On:   Thursday, June 13, 2002 09:33 PM

Hello,

I've come across a most peculiar problem.
In my GUI (Applet) I have a JList and a JTextPane.
I have setDragEnabled() to true on the JList.

This lets me drag & drop items from the list to the text pane.

But...

Sporadically (say once in 15 tries) when I do the drag & drop, just as I
release the mouse to drop, the application hangs for about 10 seconds.

The mouse pointer stays as the drag pointer, and the caret position in the JEditorPane stays put.

Please help!

About | Sitemap | Contact