Ugly rendering of .png file

This is caused by jME forcing DXT texture compression onto the image. You can disable compression for a texture by loading it with a TextureManager.loadTexture() variation that takes an Image.Format argument, then you pass Format.GuessNoCompression to it. You can also disable compression for all textures TextureManager.TEXTURE_COMPRESSION = false.