Dark Material skin based on built-in WebLaF DarkSkin.
- Download and add WebLaF library to your project
- Download and add DarkMaterialSkin.jar library to your project
- Set style:
- When installing WebLaF:
WebLookAndFeel.install(DarkMaterialSkin.class);
- Whenever you want:
StyleManager.setSkin(DarkMaterialSkin.class);
- When installing WebLaF:
HiddenScrollPane
HiddenScrollPane
uses transparent HiddenScrollPaneBar
that minimized before you hover the mouse.
HiddenScrollPaneBar have default
and hidden
style. To change one of this style you need to call setDefaultStyle
or setHoveredStyle
.
When style isn't DarkMaterial
, HiddenScrollPaneBar changes its style to StyleId.scrollbar
. To change it you need to call setStyleForOtherSkin
.
DarkCollapsiblePane is a temporary solution to the problem with style.
DarkCollapsiblePane have default
and hidden
style. To change one of this style you need to call setDefaultStyle
or setHiddenStyle
.
When style isn't DarkMaterial
, DarkCollapsiblePane changes its style to StyleId.collapsiblepane
. To change it you need to call setStyleForOtherSkin
.
Due to WebLaf problem, some components had to be done through a workaround. For correct work required to use DarkCollapsiblePane
instead of default WebCollapsiblePane
.
- WebButton
- WebCheckBox
- WebCollapsiblePane (Check notes)
- WebComboBox
- WebDockableFrame
- WebDockablePane
- WebLabel
- WebMenu
- WebMenuBar
- WebMenuItem
- WebPanel
- WebScrollBar
- WebScrollPane
- WebSeparator
- WebTextField
- WebToggleButon
- WebToolBar