I am fairly new to this area of Java and am trying to do something in a way that could be wrong!
I have my own class called Ball which extends Rectangle so I can add a few extra methods to the Rectangle class. In the paint method of the applet, I am using the fillRect() method to render it, with ball.x, ball.y etc. as arguments. However, when the applet is run the Ball doesn’t appear.
Thanks for any suggestions1