Java Substance look and feel problem

10,880

Solution 1

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.

Solution 2

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

Download your JAR from there

Share:
10,880

Related videos on Youtube

2xMax
Author by

2xMax

Updated on April 22, 2022

Comments

  • 2xMax
    2xMax about 2 years

    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?

  • 2xMax
    2xMax about 14 years
    thanks! it works. By why it can't work without this library? Why substance distributes without this library?
  • Chris
    Chris about 14 years
    No idea :). It is listed on the substance download page: substance.dev.java.net/servlets/…, but that seems to be about it.