Java Images...

Started by
1 comment, last by ngc_10 20 years, 11 months ago
I am having a major preformance problem with drawImage in Java. Does anyone know the most effeicent method of displaying images to the screen? Your reply would be appricated.
Advertisement
This question should be posed in the Java forum, but here is a basic reply:

1. Make sure your image is in the same color format as ALL the Graphics classes you will be drawing it to.

2. Make sure your Graphics classes aren''t clearing themselves every paint()

3. Use active drawing instead of passive (search on google)

4. Use the newer 1.4 JDK with its new classes.

The performance of Java for graphics may never meet your needs. Drawing 1024x768 images at 30 fps is an unreachable goal on most computers using java.
thanks, sorry about the post being in the wrong place.

This topic is closed to new replies.

Advertisement