< prev index next >

src/com/sun/javatest/tool/PreferencesPane.java

Print this page

        

*** 111,121 **** * Load the values of the user preferences relevant to this panel * from a given map object. * @param m the map from which to load the user preferences into the * GUI components */ ! public void load(Map m) { PreferencesPane[] p = getChildPanes(); if (p != null) { for (int i = 0; i < p.length; i++) p[i].load(m); } --- 111,121 ---- * Load the values of the user preferences relevant to this panel * from a given map object. * @param m the map from which to load the user preferences into the * GUI components */ ! public void load(Map<?, ?> m) { PreferencesPane[] p = getChildPanes(); if (p != null) { for (int i = 0; i < p.length; i++) p[i].load(m); }
*** 125,135 **** * Save the values of the user preferences relevant to this panel * into a given map object. * @param m the map to which to save the user preferences from the * GUI components */ ! public void save(Map m) { PreferencesPane[] p = getChildPanes(); if (p != null) { for (int i = 0; i < p.length; i++) p[i].save(m); } --- 125,135 ---- * Save the values of the user preferences relevant to this panel * into a given map object. * @param m the map to which to save the user preferences from the * GUI components */ ! public void save(Map<String, String> m) { PreferencesPane[] p = getChildPanes(); if (p != null) { for (int i = 0; i < p.length; i++) p[i].save(m); }
< prev index next >