
-----------------------------------
Martin
Wed Jul 13, 2005 12:17 pm

How to make java 1.5 use java widgets
-----------------------------------
Java 1.5 uses native widgets and it sucks. How do I fix this?

-----------------------------------
rizzix
Wed Jul 13, 2005 7:35 pm


-----------------------------------
ellaborate please.. what do you mean by native widgets? why does it suck?

-----------------------------------
wtd
Wed Jul 13, 2005 10:24 pm


-----------------------------------
ellaborate please.. what do you mean by native widgets? why does it suck?

I believe he's referring to native L&F.  I have no idea why it would suck, unless it's doing a really poor job of emulating the native L&F.

-----------------------------------
Martin
Thu Jul 14, 2005 2:31 pm


-----------------------------------
I'm trying to run robocode through linux.

Java 1.5 is trying to use GTK widgets, which are messing things up horribly, and causing the actual battle screen to flicker madly as it keeps (I believe) drawing things over top of other things.

-----------------------------------
rizzix
Thu Jul 14, 2005 6:16 pm


-----------------------------------
hmm.. yea.. i heard of such issues on linux... 1.6 fixes all types annoying java2d issues on all opreating systems.. it basically hardware accelerates all 2d renderings done through java2d... so yea... unfortunately for you, it comes out only next year, at the earliest... (note java on windows already has the hardware acceleration turned on by default, using a directx pipeline)

but.. hadware acceleration on linux (in 5.0) is off by default i think.. use "-Dsun.java2d.opengl=True" to turn it on. yet i'm not sure if this will resolve your issues.
