frame.setVisible(true);
}
private static void initContentManager(MyDoggyToolWindowManager myDoggyToolWindowManager) {
ContentManager contentManager = myDoggyToolWindowManager.getContentManager();
TabbedContentManagerUI contentManagerUI = new MyDoggyMultiSplitContentManagerUI();
contentManager.setContentManagerUI(contentManagerUI);
contentManagerUI.setPopupMenuEnabled(false);
contentManagerUI.setMinimizable(false);
contentManagerUI.setMaximizable(false);
contentManagerUI.setDetachable(true);
contentManagerUI.setCloseable(true);
contentManagerUI.setTabPlacement(TabbedContentManagerUI.TabPlacement.TOP);
contentManagerUI.setShowAlwaysTab(true);
contentManagerUI.setTabLayout(TabLayout.WRAP);
for (int index = 0; index < 3; index++) {
String contentId = "Content_" + index;
Content content = contentManager.addContent(contentId, contentId, null, new JPanel());
content.getContentUI().setDetachable(true);