Metal Look & Feel For JSplitPane’s Divider

As per version 1.6 of the JDK, there is no MetalSplitPaneDivider class in the API although if you set the JSplitPane‘s UI to use the MetalSplitPaneUI class, it will set the divider’s look and feel to metal. You may want to get access to the divider object like the left and right buttons and by using the BasicSplitPaneDivider class, the divider will not have a metal look and feel.

Luckily, while surfing through the web, I came across the work of Steve Wilson, Tom Santos and Ralph Kar who created two classes: MetalBumps and MetalSplitPaneDivider: so you could have access to the divider object and have a metal look and feel.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *