Вопрос

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