trungdle wrote:I guess because my computer is old, I always get lagged by playing Java games, thus I draw a conclusion somewhere along the line that Java is to blame. Who know, I'm not a professional programmer, but I really have the feeling that Java is heavy, my laptop gets hot, the fan runs like crazy, the lag goes on, thus I feel it is slow. Maybe you're right, that was only an illusion.
There's the problem: Java + Game
OpenGL is good, but it's not well supported on desktop graphics cards unless you own a Mac. Poor optimization means many calls end up being performed by the CPU instead of GPU, memory isn't managed as well, processes may take many more cycles than necessary, etc, etc.
Java is the only really good development platform if you want to run on all known systems without making extra clients. Also, many of the games are well optimized for DirectX in Windows because they all use one of the same 3 or 4 engines: Source, Unreal, CryEngine (and seems like one more major I'm forgetting). While there are a couple of solid performing Java/OpenGL game engines, they aren't as well optimized as the AAA offerings.