Copy « Drag Drop « Java Swing Q&A





2. How to drag and drop the copy of image?    java-forums.org

Hi! I'm developing a GUI that allows a user to create pictures using a library of small images. All small images are grouped in JPanel1, and each of them is stored in JLabel. How to drag the copy of image from JPanel1 onto JPanel2 so that the original image remains in JPanel1? I have a code that implements just moving of ...