| Checks and answer whether the border of the given renderer component
can be removed temporarily, so the combo's selection background will
be consistent with the default renderer and native appearance.
This test is invoked from #paintCurrentValue .
It is safe to remove an EmptyBorder if the component doesn't override
#update , #paint and #paintBorder .
Since we know the default renderer, we can remove its border.
Custom renderers may set a hint to make their border removable.
To do so, set the client property "isBorderRemovable"
to Boolean.TRUE . If this client property is set,
its value will be returned. If it is not set, true is returned
if and only if the component's border is an EmptyBorder.
Parameters: rendererComponent - the renderer component to check true if the component's border can be removed, false if not See Also: WindowsComboBoxUI.paintCurrentValue(Graphics,Rectangle,boolean) |