/**
* Obtain the scratch_padTopComponent instance. Never call {@link #getDefault} directly!
*/
public static synchronized scratch_padTopComponent findInstance() {
TopComponent win = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
win.grabFocus();
if (win == null) {
Logger.getLogger(scratch_padTopComponent.class.getName()).warning("Cannot find " + PREFERRED_ID + " component. It will not be located properly in the window system.");
return getDefault();
}
if (win instanceof scratch_padTopComponent) {