Removed..

Removed…

Applet -> Init ()
Applet -> Start ()
Applet -> Run ()
Exception in thread "Thread-10" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
	at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source)
	at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source)
	at sun.awt.image.VolatileSurfaceManager.restoreContents(Unknown Source)
	at sun.java2d.SurfaceData.restoreContents(Unknown Source)
	at sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData.getReplacement(Unknown Source)
	at sun.java2d.SunGraphics2D.revalidateAll(Unknown Source)
	at sun.java2d.SunGraphics2D.getCompClip(Unknown Source)
	at sun.java2d.pipe.DrawImage.renderImageXform(Unknown Source)
	at sun.java2d.opengl.OGLDrawImage.renderImageXform(Unknown Source)
	at sun.java2d.pipe.DrawImage.transformImage(Unknown Source)
	at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)
	at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)
	at sun.java2d.pipe.ValidatePipe.scaleImage(Unknown Source)
	at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
	at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
	at a.a.a(Unknown Source)
	at jumalautapelit.Applet_Main.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Applet -> Stop ()

Removed…

Air Pilots looks pretty cool, but I dont get it, I don’t see any reaction to the cursor happening…
Terveisiä Kuiteski! Speed is fine for me, XP, laptop AMILO Pro.
On another computer I do see speed problems, I have heavy slowdown on my office machine, XP with ATI Radeon 8600.
Most fast Java games crap out on it, including the one I’m building myself :frowning: though it’s stil a heavyweight computer by all other standards.
Never really got a good answer why, even the SmallFormFactor PC’s with Intel cards do better than mine.
Haven’t got java running on the linux machine yet, will try to get that sorted next week.
As for Opera, I hardly get any applets to work on Windows Opera in the first place, so could almost just strike it off the list.
Guess there’s no other good answer except computers sometimes suck…

both Opera and Konqueror don’t use the Sun Java Plugin, instead they use there own implementation which are both crap :slight_smile:

I get the same error as irreversible_kev on windows, chrome browser, latest jre.

[quote]Applet -> Start ()
Applet -> Run ()
Exception in thread “Thread-9” java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source)
at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source)
at sun.awt.image.VolatileSurfaceManager.restoreContents(Unknown Source)
at sun.java2d.SurfaceData.restoreContents(Unknown Source)
at sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData.getReplacement(Unknown Source)
at sun.java2d.SunGraphics2D.revalidateAll(Unknown Source)
at sun.java2d.SunGraphics2D.getCompClip(Unknown Source)
at sun.java2d.pipe.DrawImage.renderImageXform(Unknown Source)
at sun.java2d.opengl.OGLDrawImage.renderImageXform(Unknown Source)
at sun.java2d.pipe.DrawImage.transformImage(Unknown Source)
at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)
at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)
at sun.java2d.pipe.ValidatePipe.scaleImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at a.a.a(Unknown Source)
at jumalautapelit.Applet_Main.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[/quote]
browser hang for a while anf then same exception as above

Hey

Normal Sun Java
Java Plug-in 1.6.0_17
Using JRE version 1.6.0_17-b04 Java HotSpot™ Client VM
Firefox 3.5.5
Windows XP
Geforce 8800

The page just goes yellow!

You’ve got Opengl Java2d pipeline enabled, haven’t you ? So it’s worth disabling sun.java2d.translaccel=false.
Also, make sure you check the proper loading of the image you draw, with a MediaTracker !
:slight_smile:

Removed…

hmm. I’m getting images first with Toolkit and MediaTracker, and then drawing them onto the BufferedImage.
I’ve had nothing but headaches trying to use all the other Image loading systems.

maybe because in some case temp1_fbimg is not fully loaded/decoded (slower to load) and then its width/height are unknow yet, sounds strange…

Removed…

worked nice and fast for me : now tell us how to play??

vista 64sp2, java version “1.6.0_13”

Edit: I get a file not found error if I look at the image location.

Opera and konqueror may not be using the java plugin 2, which means no args can be given to the JVM.
e.g. is not recognized. This is also an issue on non-plugin2 browsers as Safari. Then opengl pipeline or memory heap may not be modified from an applet.

Removed…