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?

有帮助吗?

解决方案

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");
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top