Serialized Form

Class MyApplet implements Serializable

Serialized Fields

ball

DrawBall ball

box

java.awt.Panel box

consumeball

Consumer consumeball

dx

int dx
This variable stores the changed value of x and is initialized to two .

dy

int dy
This variable stores the changed value of y and is initialized to two .

flag

boolean flag

flag1

boolean flag1

mainPanel

java.awt.Panel mainPanel

missed

boolean missed

move_x

int move_x

p1

PlateCollision p1

produceball

Producer produceball

start

java.awt.Button start

x

int x
This variable is used as the left x co-ordinate of rectangular plate and is initialized to zero.

xsize

int xsize
This variable stores the width of the oval and is initialized to ten .

y

int y
This variable is used as the left y co-ordinate of rectangular plate and is initialized to ten.

ysize

int ysize
This variable stores the height of the oval and is initialized to ten .