File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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:
subject: unable to use winlaf
It's not a secret anymore!