part.serverConnectionChanged(evt);
}
}
private KongaTabbedPane createTabs() {
KongaTabbedPane tabs = new KongaTabbedPane();
tabs.setInterpretTitlesAsMnemonicStrings(true);
for (AdminConsolePart p : parts) {
JComponent tabUi = createPartUi(p);
tabs.addTab(p.getTitle(), p.getIcon(), tabUi);
tabUiToPart.put(tabUi, p);
}
tabs.enableTabReordering(new TabOrderHandler());
tabs.setSelectedIndex(0);
tabs.addChangeListener(new TabListener());
return tabs;
}