Search:

Type: Posts; User: thaiman

Search: Search took 0.19 seconds.

  1. Replies
    3
    Views
    4,659

    Re: Need help... how to get the line moving?

    import java.awt.*;


    public class Line extends Shape {

    private double x2=0;
    private double y2=0, dx2, dy2;

    public Line (double x, double y, Color color, double x2, double y2){...
  2. Replies
    3
    Views
    4,659

    Need help... how to get the line moving?

    Hi, I've done a program with 3 shapes: a circle, an rectangle and a line. These objects are supposed to move around in the box, but only the circle and the rectangle does. The line is stuck in one...
Results 1 to 2 of 2