How To Drag And Drop An Image Onto A Tabbed Pane and have resources on how to achieve this, in essence the OS handles all drag and drop operations. With an image it "grabs" the location and in your program you need to utilize the "grabbed" location to properley load the picture into the GUI.