package app;
import javax.swing.UIManager;
import com.seaglasslookandfeel.*;
public class App {
public static void main(String[] args {
UIManager.setLookAndFeel(UIManager.setLookAndFeel("com.seaglasslookandfeel.SeaGlassLookAndFeel"));
//run the GUI
UI GUI = new UI();
GUI.setVisible(true);
}
}
I have the seaglasslookandfeel-0.2.jar file in the same package as my code, as well as added the jar to the compile libraries in NetBeans, but I keep getting a 'void type not allowd here' error when trying to set the LnF. This error is for the UIManager.... line.
If I take out the " " I get 'symbol not found: seaglasslookandfeel'
Any ideas?