Skip to content

Instantly share code, notes, and snippets.

@ijcook
ijcook / Main.java
Last active October 28, 2018 15:24
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.event.*;
import javax.swing.event.MouseInputAdapter;
@SuppressWarnings("serial")
public class Main extends JPanel implements ActionListener {
public static final double XSPEED = .0000001;
public static final double YSPEED = .0000001;
int startX, startY, endX, endY, adding=0;