/** Removes the specified Frame from the Window menu. */ public static void removeWindow(Frame win) { removeWindow((Window)win); }
/** Removes the specified Frame from the Window menu. */ public static void removeWindow(Frame win) { removeWindow((Window)win); }
@Override public void dispose() { WindowManager.removeWindow(this); super.dispose(); }
public void dispose() { super.dispose(); if (!modal) WindowManager.removeWindow(this); }
public void hide() { frame.setVisible(false); WindowManager.removeWindow(frame); // ImageJ's own Window Manager }
public void dispose() { super.dispose(); if (!modal) WindowManager.removeWindow(this); }
public void dispose() { WindowManager.removeWindow(this); Prefs.set("command-finder.close", closeWhenRunning); frame = null; super.dispose(); } };
/** Closes this window. */ public void close() { //setVisible(false); dispose(); WindowManager.removeWindow(this); }
/** Closes this window. */ public void close() { //setVisible(false); dispose(); WindowManager.removeWindow(this); }
/** Closes this window. */ public void close() { //setVisible(false); dispose(); WindowManager.removeWindow(this); }
/** Closes this window. */ public void close() { //setVisible(false); dispose(); WindowManager.removeWindow(this); }
public void dispose() { super.dispose(); WindowManager.removeWindow(this); }
public void dispose() { WindowManager.removeWindow(this); Prefs.set("command-finder.close", closeWhenRunning); frame = null; super.dispose(); } };
public void dispose() { super.dispose(); WindowManager.removeWindow(this); }
public void destroy() { flush(); WindowManager.setTempCurrentImage(imp); // the FakeImagePlus WindowManager.removeWindow(fake_win); // the FakeImageWindow }
public void show() { if (!Interpreter.isBatchMode() && show) { super.show(); WindowManager.removeWindow(this); } } }
@Override public void windowClosing(final WindowEvent e) { WindowManager.removeWindow(swDisplay); swDisplay.dispose(); // NB: For some reason, garbage collection of this bundle of objects // does not occur when this window listener reference remains in // place. As such, we explicitly unregister ourself here. swDisplay.removeWindowListener(this); } });
public void windowClosing(WindowEvent e) { if (closed) return; if (ij!=null) { WindowManager.setCurrentWindow(this); IJ.doCommand("Close"); } else { dispose(); WindowManager.removeWindow(this); } }
public void windowClosing(WindowEvent e) { if (closed) return; if (ij!=null) { WindowManager.setCurrentWindow(this); IJ.doCommand("Close"); } else { dispose(); WindowManager.removeWindow(this); } }
public AmiraTable(String title, String headings, String data, boolean initParameters) { super(title, headings, data, 500, 400); show = true; properties = new Properties(); if (initParameters) { int rowCount = getTextPanel().getLineCount(); String p = "Parameters { " + getParameterString(rowCount, headings.split("\t")) + " }"; AmiraParameters parameters = new AmiraParameters(p); parameters.setParameters(properties); } WindowManager.removeWindow(this); }