- Mar 19, 2006
- 1,539
- 1
- 81
This is my code:
'the hell is wrong with it? An error comes up saying this: cannot find symbol - constructor Line(int, int, int, int, objectdraw.DrawingCanvas)
The stupid thing is that if I replace Line with FramedRect or FilledRect, it works perfectly. Does "Line" not exist in my version of ObjectDraw or something? I'm using BlueJ, btw.
import java.util.*;
import java.awt.*;
import objectdraw.*;
public class Line extends FrameWindowController
{
public void begin()
{
Line bob = new Line(1, 2, 3, 4, canvas);
}
}
'the hell is wrong with it? An error comes up saying this: cannot find symbol - constructor Line(int, int, int, int, objectdraw.DrawingCanvas)
The stupid thing is that if I replace Line with FramedRect or FilledRect, it works perfectly. Does "Line" not exist in my version of ObjectDraw or something? I'm using BlueJ, btw.