hey there, this is my first animation made in JAVA …. I know its nothing fancy but yes its a step…
Its just a simple Ball bouncing of the boundary of the applet. I just wanted to learn some new stuffs so opened a book and started.
What i did was that first Defined run(), start() and stop() method overiding that of Runnable Interface. In run() method is used the sleep method to repaint my applet in extremely small intervals of time i chose 333ms.. These methods were defined in a class BOUNCE