src/java.desktop/share/classes/sun/print/CustomMediaTray.java

Print this page

        

*** 38,48 **** private CustomMediaTray(int x) { super(x); } ! private synchronized static int nextValue(String name) { customStringTable.add(name); return (customStringTable.size()-1); } --- 38,48 ---- private CustomMediaTray(int x) { super(x); } ! private static synchronized int nextValue(String name) { customStringTable.add(name); return (customStringTable.size()-1); }