jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes unable to use winlaf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "unable to use winlaf" Watch "unable to use winlaf" New topic

unable to use winlaf

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

I have downloaded winlaf.jar to test another l&f.
I have put thid jar in my class path and inside the main method I have wrote:
public static void main(String[ ] arg) {
// some code to create my frame
but the GUI dosen't change, so what I must do ?
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
I haven't test it, but according to How to set the Look and Feel section in the Java Tutorial, once an external LAF has been placed in the classpath, it can be treated as the others. Thus try

SCJP2. Please Indent your code using UBB Code
I agree. Here's the link: http://aspose.com/file-tools
subject: unable to use winlaf
jQuery in Action, 3rd edition