Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing my look and feel in Swing

 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I read somewhere that swing has pluggable look and feels. The problem I'm having is this. At my company, the migration to Tiger hasn't even started, so we're still stuck on jdk1.4.2 and it's sub-variants. Is there a way to use the Ocean look and feel in my jdk1.4.2 compiled software instead of the defualt Metal? Thanks.
 
Neeraj Dheer
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www-128.ibm.com/developerworks/java/library/j-customlaf/

that one talks about jdk1.4.2. so you should find that very useful.

in addition:
http://java.sun.com/developer/onlineTraining/GUI/Swing2/shortcourse.html
[ May 10, 2005: Message edited by: Neeraj Dheer ]
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Swing forum...
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also try using a third party .jar to provide the different looks. I use one produced by the guys at:

http://www.jgoodies.com/freeware/looks/

Just put the jar in your classpath somewhere and set the desired look as one of the first things you do in the app.

Cheers, Jared.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!