move four balls in four differnt directions




I have to make a small game using swing in which i have to move 4
balls starting from to four differnt direction like east west north
south and then back to center using canvas.
i am new swing plese help me. i need it very urgent plz help me.

.