Computer Science Canada need help with draw function |
Author: | mapleleafs [ Tue Jul 27, 2004 2:17 pm ] | ||
Post subject: | need help with draw function | ||
this applet is supposed to receive 4 inputs from the user for the x, y, width, and height of an oval and then it's supposed to draw the oval. Here's the program
the problem is when i try to compile the program it says "cannot resolve symbol variable" for xValue, yValue, widthValue, and heightValue |
Author: | rizzix [ Tue Jul 27, 2004 4:43 pm ] |
Post subject: | |
its all because of scope.. u need to declare those variables outside the method init(). that way it is visible to all methods in that class |