setSelectedComponent

@BeanProperty(bound = false, preferred = true, description = "The tabbedpane's selected component.")
open fun setSelectedComponent(c: Component)

Sets the selected component for this tabbedpane. This will automatically set the selectedIndex to the index corresponding to the specified component.

Parameters

c

the selected Component for this TabbedPane

Throws

if component not found in tabbed pane