Saves the Point loc in the preferences file as a string using the keyword key .
(String key, Point loc)
| 688 | /** Saves the Point <code>loc</code> in the preferences |
| 689 | file as a string using the keyword <code>key</code>. */ |
| 690 | public static void saveLocation(String key, Point loc) { |
| 691 | if (!doNotSaveWindowLocations) |
| 692 | set(key, loc!=null?loc.x+","+loc.y:null); |
| 693 | } |
| 694 | |
| 695 | /** Uses the keyword <code>key</code> to retrieve a location |
| 696 | from the preferences file. Returns null if the |
no test coverage detected