Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Drag and drop

843804Nov 11 2004 — edited Nov 12 2004
I have Java program i created that uses a Custom file dialog that extends JFileChooser to allow for dragging a picture file into my main frame to change the background. My problem is that the JFileChooser will allow me to drag to any source besides my java program. I can drag to xp's desktop, to an xp file dialog etc. I can also drag from xp's dialogs to my Java main frame and it works as i planned. Can anyone help me figure out why from within my program my JFilechooser will not drag and drop to my main frame.
I did setDragEnabled(true) for my JFileChooser.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2004
Added on Nov 11 2004
1 comment
94 views