public void contentUIDetached(ContentManagerUIEvent event) {
JOptionPane.showMessageDialog(frame, "Hello World!!!");
}
});
TabbedContentUI contentUI = contentManagerUI.getContentUI(toolWindowManager.getContentManager().getContent(0));
contentUI.setCloseable(true);
contentUI.setDetachable(true);
contentUI.setTransparentMode(true);
contentUI.setTransparentRatio(0.7f);
contentUI.setTransparentDelay(1000);
}