The extras module contains additional functionality that builds on top of the core Substance module.
Additional color schemes are available under the org.pushingpixels.substance.extras.api.colorschemepack
package. See the full list here.
Additional fill and decoration painters are available under the org.pushingpixels.substance.extras.api.painterpack
package.
The org.pushingpixels.substance.extras.api.watermarkpack
package provides a collection of watermarks. It is highly recommended to read relevant entries in the FAQ and consider performance implications of additional rendering required to use watermarks.
Additional skins are available under the org.pushingpixels.substance.extras.api.skinpack
package.
The org.pushingpixels.substance.extras.api.tabbed
package provides three widgets that can be enabled for on JTabbedPane
s in your application.
To enable a specific widget, use SubstanceCortex.GlobalScope.registerWidget
API:
SubstanceCortex.GlobalScope.registerWidget(
"org.pushingpixels.substance.extras.api.tabbed.TabHoverPreviewWidget",
JTabbedPane.class, false)
As a result of this call, all JTabbedPane
containers in your application (including those of classes that extend JTabbedPane
- which is enabled by passing false
as the last parameter) will display a small tab preview popup when the mouse hovers over one of the tabs.
Use SubstanceExtrasCortex.ComponentScope.setTabPanePreviewPainter
to configure the painter to be used to render preview thumbnails of tabs for the specific JTabbedPane
. You can use DefaultTabPreviewPainter
as is, or extend some of its functionality as required by your application.