i am physics student..and this is the first year i take java lecture...that applet is exactly how i want it to function(Thanks to your efforts)..but i dont even know how to put the classes together to be in one project...and i have seen alot of classes, i dont want it be that big(it doesnt have to be perfect)...thanks anyway sir..