I’ve tried to set my own icon instead of the default one. In the wiki, I found this way:
(This is executed before the app starts - I’ve called “setShowSettings(false);” and handle things like resolution etc. in this method (I’m sure my fault isn’t there, cause things like loading the resolution and other settings at this points work))
GameInfo.ICON is a BufferedImage, the toString-method says:
BufferedImage@152f43b: type = 6 ColorModel: #pixelBits = 32 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@1205d8d transparency = 3 has alpha = true isAlphaPre = false ByteInterleavedRaster: width = 256 height = 256 #numDataElements 4 dataOff = 3
First, I had an image of the size 200x200, so I thought maybe jME only supports 2^n sizes at the moment, but even resizing it to 256 or 128 doesn't help. :(
I already searched in the forums, Google and the javadocs, but found nothing that helped.
Here's a link to my image:
Yours, destro :)