protected void updateFrameIcon() {
		Icon frameIcon = frame.getFrameIcon();
		if( frameIcon != null && (frameIcon.getIconWidth() == 0 || frameIcon.getIconHeight() == 0) )
			frameIcon = null;
		else if( frameIcon instanceof ImageIcon )
			frameIcon = new ScaledImageIcon( (ImageIcon) frameIcon );
		titleLabel.setIcon( frameIcon );
	}
Provides the Flat LaF internal frame title bar.

@author Karl Tauber
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatInternalFrameTitlePane.java