I am trying to create an uploader applet using JFileChooser for file selection. I want the user to be able to drag files from JFileChooser into another component.
I have this code working in Windows but the drag event is simply not registering on the Mac. Left click and drag down simply selects all the the directories/files within the current directory. Is this a bug related to Apple's implementation of Java, or Apple's custom implementation of JFileChooser? I can get drag/drop events to work using any other component, just not JFileChooser.
Any help on this issue is a massive help as I cannot find anything related to the problem I'm having after searching on the net.
System:
Mac OS X Snow Leapord Version 10.6.2
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
Thank you
I have this code working in Windows but the drag event is simply not registering on the Mac. Left click and drag down simply selects all the the directories/files within the current directory. Is this a bug related to Apple's implementation of Java, or Apple's custom implementation of JFileChooser? I can get drag/drop events to work using any other component, just not JFileChooser.
Any help on this issue is a massive help as I cannot find anything related to the problem I'm having after searching on the net.
System:
Mac OS X Snow Leapord Version 10.6.2
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
Thank you