Menu

Getting Started

Help
2009-11-09
2013-12-01
  • Dirk Lemmermann

    Dirk Lemmermann - 2009-11-09

    The nimbusx project is rather small so far and really only contains two classes that are of interest right now. NimbusFrame and NimbusDialog. Simply use these two classes as a replacement for JFrame and JDialog and you will be rewarded with the correct window decorations when running the Nimbus look and feel on Windows.

    Dirk

    P.S.: both window classes will behave exactly like their super classes when not running the Nimbus look and feel.

     
  • Unai

    Unai - 2013-12-01

    Hi Dirk,
    I can't make nimbusx work... I use, and instantiate, NimbusFrame instead of JFrame but I get a runtime exception:

    Exception in thread "main" java.lang.ClassCastException: javax.swing.plaf.nimbus.InternalFramePainter cannot be cast to com.sun.java.swing.Painter
    at com.dlsc.nimbusx.NimbusContentPane.paintComponent(NimbusContentPane.java:129)

    Running on latest java 7 JRE.

    Could you please provide a simple working demo showcasing nimbusx usage?

    Cheers,
    Unai

     

Log in to post a comment.