setExtraWidgetsPresence

fun JComponent.setExtraWidgetsPresence(extraWidgetsPresence: Boolean?)

Specifies that extra UI elements (such as menu items in system menu or lock borders) should be shown in this component.

Parameters

extraWidgetsPresence

If true, extra UI elements (such as menu items in system menu or lock borders) will be shown in this component. Pass null to reset to the default behavior.