i m writing a
java applet that accepts 4 parameters to draw a rectangle - x, y, width, height
my problem is, i don't know how to call it in another method - square of asterisks,
it needs a variable Graphics g to be supplied, but i don't know where to give this "g" variable!
here is the problem, how to initialize Graphics g variable?