This is a small (working) java application that draws sprites - multi colored ovals which all move.
you can add about 50 sprites before any noticable performance drop on my machine (Dell Inspirion, 1 ghz)
you can add about 500 before it starts throwing errors.
This could be extended to draw tilemaps with sprites on top. It's basically a model of the graphics management i am using in my game (though the sprites and backgrounds use images and dont float around in space.)
I thought this could ba a basic system which could be extended for many diferent purposes, but i know it's not perfect.
If anyone has any alteration suggestions, they'd be appreciated.
In particular, the swing timer. i've been finding the sleeptimer posted here confusing, but that's what i'd like to implement in my game.
it's available here:
http://members.austarmetro.com.au/~juddman/files/java/drawingBasics.zip