Custom Components and Painter with Nimbus Look And feel
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!