a workaround for the second: ```fun TabPanel.getCo...
# kvision
r
a workaround for the second:
Copy code
fun TabPanel.getComponentIndex(component: Component): Int {
    for (i in 0 until getSize()) {
        val test = getChildComponent(i)
        if (test == component) return i
    }
    return -1
}