I am trying to use the Sea Glass LAF for a Java application but it gives the Class Not Found Exception (in Windows using JDK 8). I added the seaglass-0.1.7.3 jar file to the libraries folder and added it to build path. I also added import com.seaglasslookandfeel.*;
to the code but it is shown as an unused import.
Below is my code:
public static void main( String[] args )
{
EventQueue.invokeLater( new Runnable()
{
@Override
public void run()
{
try
{
UIManager.setLookAndFeel( "com.seaglasslookandfeel.SeaGlassLookAndFeel" );
setHomeWindow( new HomeWindow() );
window.getFrame().setVisible( true );
}
catch ( Exception e )
{
e.printStackTrace();
}
}
} );
}
How can I solve this and use Seaglass? Any help is much appreciated.