@Override
	protected void installComponents() {
		dockIcon = new JLabel();
		dockIcon.setHorizontalAlignment( SwingConstants.CENTER );

		closeButton = new JButton();
		closeButton.setIcon( UIManager.getIcon( "DesktopIcon.closeIcon" ) );
		closeButton.setFocusable( false );
		closeButton.setBorder( BorderFactory.createEmptyBorder() );
		closeButton.setOpaque( true );
		closeButton.setBackground( FlatUIUtils.nonUIResource( desktopIcon.getBackground() ) );
		closeButton.setForeground( FlatUIUtils.nonUIResource( desktopIcon.getForeground() ) );
		closeButton.setVisible( false );

		desktopIcon.setLayout( new FlatDesktopIconLayout() );
		desktopIcon.add( closeButton );
		desktopIcon.add( dockIcon );
	}
Provides the Flat LaF UI delegate for {@link javax.swing.JInternalFrame.JDesktopIcon}.

<!-- BasicDesktopIconUI -->

@uiDefault DesktopIcon.border					Border

<!-- FlatDesktopIconUI -->

@uiDefault DesktopIcon.background				Color
@uiDefault DesktopIcon.foreground				Color
@uiDefault DesktopIcon.iconSize					Dimension
@uiDefault DesktopIcon.closeSize					Dimension
@uiDefault DesktopIcon.closeIcon					Icon

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