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

Method savePreferences

ij/src/main/java/ij/ImageJ.java:811–815  ·  view source on GitHub ↗

Called once when ImageJ quits.

(Properties prefs)

Source from the content-addressed store, hash-verified

809
810 /** Called once when ImageJ quits. */
811 public void savePreferences(Properties prefs) {
812 Point loc = getLocation();
813 prefs.put(IJ_X, Integer.toString(loc.x));
814 prefs.put(IJ_Y, Integer.toString(loc.y));
815 }
816
817 @AstroImageJ(reason = "Run AIJ startup; Load on EventQueue", modified = true)
818 public static void main(String args[]) {

Callers 1

savePreferencesMethod · 0.95

Calls 3

getLocationMethod · 0.80
putMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected