/**
* Obtain the ControlFlowTopComponent instance. Never call {@link #getDefault} directly!
*/
public static synchronized ControlFlowTopComponent findInstance() {
TopComponent win = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
if (win == null) {
ErrorManager.getDefault().log(ErrorManager.WARNING, "Cannot find ControlFlow component. It will not be located properly in the window system.");
return getDefault();
}
if (win instanceof ControlFlowTopComponent) {