1. Move image to point (not drag) in Java stackoverflow.comI have a little image in a |
2. Drawing a line by dragging the mouse from one point to another coderanch.comI am trying to develop a gui in which the user can draw a line between two labels. I want it to be such a way that by dragging the mouse pointer from one label to another, a line is drawn. And if the user drags the pointer from a label to any other point, then the line should not be ... |