This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Chris Dancy
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Chris Dancy
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic