Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Substance look and feel problem

I have a problem with substance look and feel. I'm trying to set Office 2007 LAF as descibed here.

    try
    {
        UIManager.setLookAndFeel("org.pushingpixels.substance.api.skin.SubstanceOfficeBlue2007LookAndFeel");
    }catch(Exception ex)
    {
        System.out.println("Exception:"+ ex.getMessage());
    }

But when i run this code I get exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/pushingpixels/trident/ease/TimelineEase

What am I doing wrong? Anybody have experience with substance LAF?

like image 914
2xMax Avatar asked May 23 '10 18:05

2xMax


2 Answers

It'd seem that you need the Trident library in order to use Substance. Grab it and stick it in your classpath and it should work.

like image 158
Chris Avatar answered Sep 22 '22 13:09

Chris


Ok... here goes... http://insubstantial.github.com/insubstantial/

Download your JAR from there

like image 24
arcamax Avatar answered Sep 25 '22 13:09

arcamax