eventBridge = (DHNSEventBridge) VizController.getInstance().getEventBridge();
//Init
initCollapsePanel();
initToolPanels();
final GraphDrawableImpl drawable = VizController.getInstance().getDrawable();
//Request component activation and therefore initialize JOGL component
WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
public void run() {
open();
SwingUtilities.invokeLater(new Runnable() {
public void run() {
requestActive();
add(drawable.getGraphComponent(), BorderLayout.CENTER);
remove(waitingLabel);
}
});
}
});