@Override
		public void stateChanged( ChangeEvent e ) {
			HiDPIUtils.repaint( b );

			// if button is in toolbar, repaint button groups
			AbstractButton b = (AbstractButton) e.getSource();
			Container parent = b.getParent();
			if( parent instanceof JToolBar ) {
				JToolBar toolBar = (JToolBar) parent;
				ToolBarUI ui = toolBar.getUI();
				if( ui instanceof FlatToolBarUI )
					((FlatToolBarUI)ui).repaintButtonGroup( b );
			}
		}
Similar to BasicButtonUI.layout(), but does not use zero insets for HTML text,
which is done in BasicButtonUI.layout() since Java 19.
See https://github.com/openjdk/jdk/pull/8407
and https://github.com/openjdk/jdk/pull/8407#issuecomment-1761583430
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatButtonUI.java