You have to use the method «getGraphics» for the panel in the method that will draw objects. For the variable that will contain the graphic panel you will have then to call the method «drawOval» with the coordinates of the circle and two identical radiuses (for the object to be round, not oval).
Comments
Leave a comment