public static boolean hasRoundBorder( JComponent c ) {
		return getBorderArc( c ) >= c.getHeight();
	}
Returns the scaled arc diameter of the border for the given component.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatUIUtils.java