protected Color getTextForeground ( boolean selected ) { Color c = UIManager . getColor ( selected ? "SimpleInternalFrame.activeTitleForeground" : "SimpleInternalFrame.inactiveTitleForeground" ) ; if ( c != null ) { return c ; } return UIManager . getColor ( selected ? "InternalFrame.activeTitleForeground" : "Label.foreground" ) ; }
Determines and answers the header s text foreground color . Tries to lookup a special color from the L&amp ; F . In case it is absent it uses the standard internal frame forground .