1

I'm using Netbeans as the IDE. I want to use SyntheticaOrangeMetallicLookAndFeel. I added the jar files to library. The following code segment is before the initcomponents() line inside the constructor.

   try{
     UIManager.setLookAndFeel(new SyntheticaOrangeMetallicLookAndFeel());
    }catch(Exception e){}

I'm getting this error while executing:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/swing/plaf/synth/SynthUI.

Help me to solve this problem. Thanks.

Alonso Dominguez
  • 7,750
  • 1
  • 27
  • 37
chathura
  • 3,362
  • 6
  • 41
  • 68

1 Answers1

0

You're using Java7 together with an outdated Synthetica release. Use Java 6 or better a recent Synthetica release with Java 7 support.

wzberger
  • 923
  • 6
  • 15