File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Don't get me started about those stupid light bulbs.
 
subject: drag and drop pics works under windows,mac but not linux
 
Similar Threads
Survey- What platform do you use to program in Java?
Drag & Drop problem
Mac Ads
in java where is clrscr() function
Drag and Drop with Native Environment