JPanel mainPanel = new JPanel(new BorderLayout());
if (allTabs.isEmpty()) {
mainPanel.add(getFormBuilder().getForm(), BorderLayout.CENTER);
} else {
pane = new ExtTabbedPane();
pane.addTab(new Tab("Properties", getFormBuilder().getForm()));
for (Entry<String, TableFormBuilder> entry : allTabs.entrySet()) {
pane.addTab(new Tab(entry.getKey(), entry.getValue().getForm()));
}