sS getTabTitle(JTabbedPane tabs, int idx) { ret tabs == null || idx < 0 ? null : swing(() -> idx < tabs.getTabCount() ? tabs.getTitleAt(idx) : null ); }