This discussion is archived
0 Replies Latest reply: Jan 23, 2013 10:40 PM by algil RSS

Custom Components and Painter with Nimbus Look And feel

algil Newbie
Currently Being Moderated
Hello!

I am creating a look and feel that inherits from NimbusLookAndFeel and let me know how I can register my own components to use their custom Painter.

For example, a JButton like this ButtonPainter class used to be painted. Also would like to know how to register different states (for examples BACKGROUND_ENABLED, BACKGROUND_FOCUSED ...)

Can you lead me how I can do this? Actually I want to do is a custom tabbed pane and that this use their own Painter.

Thank you for everything!
Greetings!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points