A B C D I K M P R

A

actionPerformed(ActionEvent) - Method in class MyApplet
This method sets the action to be performed when the start and close buttons are pressed.

B

ballmissed() - Method in class MyApplet
This is a synchronized method which is called by the Consumer class.

C

Consumer - class Consumer.
This is the Consumer Class which destroyes the ball.

D

draw() - Method in class MyApplet
This method is use to draw the ping pong ball.
DrawBall - class DrawBall.
 
DrawBall() - Constructor for class DrawBall
 
drawBall(Graphics, int, int, int, int) - Method in class DrawBall
This is a constructor used to return a filled oval along with the co ordinates.
drawPlate() - Method in class MyApplet
This method is used draw the rectangular plate.

I

init() - Method in class MyApplet
This method initializes and instansiates the applet.

K

keyPressed(KeyEvent) - Method in class MyApplet
This method sets the action of the left arrow and right arrow key
keyReleased(KeyEvent) - Method in class MyApplet
 
keyTyped(KeyEvent) - Method in class MyApplet
 

M

move() - Method in class MyApplet
This is a synchronized method which is called by the Producer class.
MyApplet - class MyApplet.
This class is my applet and is responsible for drawing start and close buttons and acts as my " MONITOR " class.
MyApplet() - Constructor for class MyApplet
 

P

paint(Graphics) - Method in class MyApplet
This method paints the rectangular plate on the screen.
PlateCollision - class PlateCollision.
This method is used to initializes the xcord int x1.
PlateCollision(int) - Constructor for class PlateCollision
This is the constructor with a parameter xcord
Producer - class Producer.
This is the Producer Class which produces the ball.

R

run() - Method in class Consumer
This is the run method of used to produce balls when they are destroyed.
run() - Method in class Producer
This is the run method of used to produce balls when they are destroyed.

A B C D I K M P R