Move « Drag Drop « Java Swing Q&A





1. Drag and Drop ....and move again ?    coderanch.com

hi, I want to drag imageicons from one frameA to frameB. After dropping the icons on the second frame, I want to move any imageicon inside that frameB freely. But,only drag and drop is working using java.awt.dnd package . I want to selectively move any icon in frameB after dropping also. Please help me with simple example..

2. Moving, Dragging, Resizing Images in Canvas    coderanch.com

Hi All, I am having problem in giving the functionality for Dragging, Resizing of images in Canvas. Actually , I have drawn an image in canvas & now I want that it should be able to be selected by user so that he can resize it , shear it, rotate it etc. I am trying Graphics2D for it. I have modified ...

3. Help me how to drag and move drawing shaps    coderanch.com

Hi Friends... I have finished the mouse over drag and draw the some various shapes,example Line,Oval,Rectangle...,But i want to drag and move that drawing shapes one place to other place. Please help me solv this problem.... my codeing here... import java.awt.*; import java.awt.event.*; import javax.swing.*; public class appletshape extends JApplet { JComboBox colorChoice, figureChoice; // Pop-up menus, defined as instance public ...

4. DnD MOVE within Local VM    coderanch.com

Hi All, Want to rearrange a container hiearchy using DnD (Yes, I know it does not have to be DnD.) Have set-up the usual sample DropSource and DropTarget using some of the code from Core SWING Advanced Programming By Kim Topley. Have Eclipse watching both sides of the transfer. What I'm seeing on a MOVE that surprised me for the LocalProxy ...