set Widget Visible
fun Window.setWidgetVisible(visible: Boolean, vararg substanceWidgets: SubstanceSlices.SubstanceWidgetType)
Content copied to clipboard
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.
substance Widgets
Widget types.