@@ -709,16 +709,18 @@ protected void initComponentDefaults(UIDefaults table) {
709
709
table .put ("InternalFrame.activeTitleBackground" , theme .getBackgroundPrimary ());
710
710
table .put ("InternalFrame.activeTitleForeground" , theme .getTextColor ());
711
711
table .put ("InternalFrame.inactiveTitleBackground" , theme .getBackgroundPrimary ());
712
- table .put ("InternalFrame.inactiveTitleForeground" , theme .getDisableTextColor ());
712
+ table .put ("InternalFrame.inactiveTitleForeground" , theme .getTextColor ());
713
713
table .put ("InternalFrame.titleFont" , theme .getFontBold ());
714
714
table .put ("InternalFrame.background" , theme .getBackgroundPrimary ());
715
715
table .put ("InternalFrame.border" , MaterialBorders .DEFAULT_SHADOW_BORDER );
716
716
717
717
// This is for change the TitlePane
718
- table .put ("Material.activeCaption" , theme .getMenuBackground ());
719
- table .put ("Material.inactiveCaption" , theme .getMenuBackground ());
718
+ // FIXME: we may take in consideration to support the Dialog with new properties
719
+ // because there use use case that these only are not enough.
720
+ table .put ("Material.activeCaption" , theme .getBackgroundPrimary ());
721
+ table .put ("Material.inactiveCaption" , theme .getBackgroundPrimary ());
720
722
table .put ("Material.activeCaptionText" , theme .getTextColor ());
721
- table .put ("Material.inactiveCaptionText" , theme .getDisableTextColor ());
723
+ table .put ("Material.inactiveCaptionText" , theme .getTextColor ());
722
724
table .put (
723
725
"Material.activeCaptionBorder" ,
724
726
new BorderUIResource (BorderFactory .createLineBorder (theme .getBackgroundPrimary ())));
0 commit comments