HI
ive been trying to do some java program and when ive tried to run this program which, ive had 3 errors saying cannot resolve symbol for 'DrawFrame/DrawPanel' im not sure wat the issue here is, the program is as follows:
import java.awt.*;
import java.awt.geom.*;
import javax.swing.*;
public class Drawing extends DrawPanel
{
public static void main(final String[] args)
{
DrawFrame frame = new DrawFrame("Drawing");
Drawing drawing = new Drawing();
frame.add(drawing);
frame.pack();
frame.centreOnScreen();
frame.setVisible(true);
}
public Drawing()
{
}
public Drawing(final int w, final int h)
{
super(w,h);
}
public void paint(final Graphics g)
{
Graphics2D g2d = (Graphics2D)g;
}
}
it would be much appreciated if you could help
thnx
yarlini