aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes drag and drop pics works under windows,mac but not linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "drag and drop pics works under windows,mac but not linux" Watch "drag and drop pics works under windows,mac but not linux" New topic
Author

drag and drop pics works under windows,mac but not linux

Chris Dancy
Ranch Hand

Joined: Feb 14, 2006
Posts: 136
so I have this program which sets a default pic for a users profile. The user is suppose to be able to drag and drop a pic to that spot and the new pic will show up within the program. I am writing this app in linux(ubuntu) and for whatever reason when i drag and drop a pic it simply produces a gray background. Though i've tested this under windows and mac, and for some reason it works there. But my OS it wont work. Is their something im missing about drag and drop with linux?


("Anger is not an emotion, its a symptom of fear.")
Chris Dancy
Ranch Hand

Joined: Feb 14, 2006
Posts: 136
I guess Im just wondering if there is a different mime type i should be listening for, like one for gnome or kde. Through my debugging everything works ok, just the panel where the new pic is suppose to be dropped into just turns gray after the drop. Any help?


sincerely,
Chris Dancy
 
 
subject: drag and drop pics works under windows,mac but not linux
 
Similar Threads
in java where is clrscr() function
Drag & Drop problem
Mac Ads
Survey- What platform do you use to program in Java?
Drag and Drop with Native Environment