The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
|___|___|___|___|
0 10 20 30 40
I have to do it using some sort of loop. Any ideas?
C:\Documents and Settings\Default\My Documents\Calum's stuff\assignment2\CycleTour.java:17: CycleTour should be declared abstract; it does not define mouseClicked(java.awt.event.MouseEvent) in CycleTour
public class CycleTour extends Applet implements ActionListener, MouseListener{
Any idea what its talking about?
Something a long the lines of
g.drawline(0,0,50,0); //the horizontal line from point (0,0) to (50,0)
int x=0;
int y1=2;
int y2=0;
for(int i=0; i<10;i++)
{
g.drawline(x,y1,x,y2);
x=x+5;
}
As far as my sleepy head can see that should draw the scale from 0 to 50 at intervals of 5
Any problems you know you can get me on MSN at some point.
I'll think about the green stuff too.
|___|___|___|___|
0 10 20 30 40
I have to do it using some sort of loop. Any ideas?