MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / add

Method add

ij/src/main/java/ij/gui/ImageWindow.java:631–637  ·  view source on GitHub ↗
(Component comp)

Source from the content-addressed store, hash-verified

629 }
630
631 public Component add(Component comp) {
632 comp = super.add(comp);
633 maxBounds = getMaximumBounds();
634 setMaximizedBounds(maxBounds);
635 setMaxBoundsTime = System.currentTimeMillis();
636 return comp;
637 }
638
639 public void maximize() {
640 if (GenericDialog.getInstance()!=null && IJ.isMacOSX() && IJ.isJava18())

Callers 1

ImageWindowMethod · 0.95

Calls 2

getMaximumBoundsMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected