public static void installPalettePrefsHandler(final Preferences prefs,final String name,Window window){
  installPalettePrefsHandler(prefs,name,window,0);
}

public static void installPalettePrefsHandler ( final Preferences prefs , final String name , Window window ) { installPalettePrefsHandler ( prefs , name , window , 0 ) ; }
installs a palette preferences handler . on first run , sets the palette to its preferred location at the top left corner of the screen . on subsequent runs , sets the palette the last location where the user had placed it before .
