Domanda

I'm using Netbeans IDE and I want to use the Insubstantial LAF in a Java application (http://insubstantial.posterous.com/). However, I have no idea how I would go about installing it. Does anybody have experience with this?

È stato utile?

Soluzione

Put its jar in the classpath, and, in your main method, before displaying any Swing component, add the following code:

UIManager.setLookAndFeel("fully.qualified.name.of.the.LookAndFeel");
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top