I'm learning Java by writing a Mandelbrot program. I can draw the image, then use the mouse to choose an area to magnify. Works great, except...
When I choose the area to magnify (mouse down, move mouse, mouse up) there's no outline of the rectangle on the image. Is there a variable I can set, or method I can call, to show the outline of that rectangle as I draw it?
I'm not looking for code to actually draw the rectangle, that's a YALE (Yet Another Learning Experience) if I have to write it. I just don't want to write code I don't have to.
When I choose the area to magnify (mouse down, move mouse, mouse up) there's no outline of the rectangle on the image. Is there a variable I can set, or method I can call, to show the outline of that rectangle as I draw it?
I'm not looking for code to actually draw the rectangle, that's a YALE (Yet Another Learning Experience) if I have to write it. I just don't want to write code I don't have to.