Hello,
I am writing an
applet that will display me four different polygons using four buttons.Also, i have a slider that is used to change the sizes of the displayed shape.Using this slider, when for example a rectangle is displayed, moving it ahead will increase it's size and vice versa.
I wrote the code, but i cannot increase/decrease the size using slider.I am sure the slider can listen to the event.But, i am not sure where it's going wrong.Please help.
Note: I have four classes for the four polygons to initialize the co-ordinate points.