sS selectedTabName(JTabbedPane tabs) { ret tabs == null ?: swing(-> getTabTitle(tabs, tabs.getSelectedIndex())); }