Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Custom Components and Painter with Nimbus Look And feel

algilJan 24 2013
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2013
Added on Jan 24 2013
0 comments
315 views