home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import javax.swing.plaf.IconUIResource;
-
- class LookAndFeel$1 implements UIDefaults.LazyValue {
- // $FF: synthetic field
- private final Class val$baseClass;
- // $FF: synthetic field
- private final String val$gifFile;
-
- LookAndFeel$1(Class var1, String var2) {
- this.val$baseClass = var1;
- this.val$gifFile = var2;
- }
-
- public Object createValue(UIDefaults var1) {
- byte[][] var2 = new byte[1][];
- SwingUtilities.doPrivileged(new LookAndFeel.2(this, var2));
- if (var2[0] == null) {
- System.err.println(this.val$baseClass.getName() + "/" + this.val$gifFile + " not found.");
- return null;
- } else if (var2[0].length == 0) {
- System.err.println("warning: " + this.val$gifFile + " is zero-length");
- return null;
- } else {
- return new IconUIResource(new ImageIcon(var2[0]));
- }
- }
-
- // $FF: synthetic method
- static String access$000(LookAndFeel$1 var0) {
- return var0.val$gifFile;
- }
-
- // $FF: synthetic method
- static Class access$100(LookAndFeel$1 var0) {
- return var0.val$baseClass;
- }
- }
-