If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

A couple graphics questions...

Hey Everyone

I'm working on a game in Java (I know I know... I should do it in C++... but I love Java!) Anyway... I've got two big problems:

1.) When I load images to display them, I'm trying to have them "preload" at startup. But this doesn't work. The game starts and a couple seconds later the images start popping up one by one. Is there anyway to know when the images have actually finnished lasing?
I'm using getToolkit().createImage("my image.gif") to load them.

2.)Rotating images... I've gotten this to work nicely by using this code:

However, sometimes when I call this, the "unrotate" part doesn't seem to kick in. The whole screen is left rotated and looks REALLY messy.
Does anyone know why this would be or a better way of drawing a rotated image on the screen?

1.) When I load images to display them, I'm trying to have them "preload" at startup. But this doesn't work. The game starts and a couple seconds later the images start popping up one by one. Is there anyway to know when the images have actually finnished lasing?
I'm using getToolkit().createImage("my image.gif") to load them.