Heres an example of an asteroids applet

all of this is using graphics not swing