Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to make java 1.5 use java widgets
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Martin




PostPosted: Wed Jul 13, 2005 12:17 pm   Post subject: How to make java 1.5 use java widgets

Java 1.5 uses native widgets and it sucks. How do I fix this?
Sponsor
Sponsor
Sponsor
sponsor
rizzix




PostPosted: Wed Jul 13, 2005 7:35 pm   Post subject: (No subject)

ellaborate please.. what do you mean by native widgets? why does it suck?
wtd




PostPosted: Wed Jul 13, 2005 10:24 pm   Post subject: (No subject)

rizzix wrote:
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




PostPosted: Thu Jul 14, 2005 2:31 pm   Post subject: (No subject)

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




PostPosted: Thu Jul 14, 2005 6:16 pm   Post subject: (No subject)

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.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: