setWidgetVisible

fun Window.setWidgetVisible(visible: Boolean, vararg radianceWidgets: RadianceThemingSlices.WidgetType)

Sets the visibility of the specified widget type(s). This method should not be called from inside the initialization sequence of this window. If the specific widget needs to be visible when the window is shown, wrap the call with SwingUtilities.invokeLater or GlobalScope.launch(Dispatchers.Swing)

Parameters

visible

Visibility indication.

radianceWidgets

Widget types.