protected void setupContentManagerUI() {
TabbedContentManagerUI contentManagerUI = (TabbedContentManagerUI) toolWindowManager.getContentManager().getContentManagerUI();
contentManagerUI.setShowAlwaysTab(true);
contentManagerUI.setTabPlacement(TabbedContentManagerUI.TabPlacement.BOTTOM);
contentManagerUI.addContentManagerUIListener(new ContentManagerUIListener() {
public boolean contentUIRemoving(ContentManagerUIEvent event) {
return JOptionPane.showConfirmDialog(frame, "Are you sure?") == JOptionPane.OK_OPTION;
}
public void contentUIDetached(ContentManagerUIEvent event) {