Started bugfixes
This commit is contained in:
@@ -6,7 +6,16 @@ import java.awt.geom.Point2D;
|
||||
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import Applicatie.Panel;
|
||||
|
||||
public class MouseMotion extends MouseMotionAdapter {
|
||||
Panel p;
|
||||
|
||||
public MouseMotion(Panel p)
|
||||
{
|
||||
this.p = p;
|
||||
}
|
||||
|
||||
public void mouseDragged(MouseEvent e) {
|
||||
Point2D clickPoint = getClickPoint(e.getPoint());
|
||||
if(dragObject != null)
|
||||
|
||||
Reference in New Issue
Block a user