removed support for activated JIMI package

This commit is contained in:
hns 2001-09-03 13:01:17 +00:00
parent b027c74509
commit c207f380d9

View file

@ -38,14 +38,10 @@ public class ImageGenerator extends Window {
Graphics g = img.getGraphics (); Graphics g = img.getGraphics ();
ImageWrapper rimg = null; ImageWrapper rimg = null;
try { try {
try { rimg = new SunImageWrapper (img, g, w, h, this);
rimg = new ActivatedImageWrapper (img, g, w, h, this); } catch (Exception x) {
} catch (NoClassDefFoundError notfound) { System.err.println ("Can't create image: "+x);
rimg = new SunImageWrapper (img, g, w, h, this); }
} catch (ClassNotFoundException notfound) {
rimg = new SunImageWrapper (img, g, w, h, this);
}
} catch (Exception x) {}
return rimg; return rimg;
} }
@ -61,14 +57,10 @@ public class ImageGenerator extends Window {
Image img = createImage (w, h); Image img = createImage (w, h);
Graphics g = img.getGraphics (); Graphics g = img.getGraphics ();
g.drawImage (img1, 0, 0, null); g.drawImage (img1, 0, 0, null);
try { rimg = new SunImageWrapper (img, g, w, h, this);
rimg = new ActivatedImageWrapper (img, g, w, h, this); } catch (Exception x) {
} catch (ClassNotFoundException notfound) { System.err.println ("Can't create image: "+x);
rimg = new SunImageWrapper (img, g, w, h, this); }
} catch (NoClassDefFoundError notfound) {
rimg = new SunImageWrapper (img, g, w, h, this);
}
} catch (Exception x) {}
return rimg; return rimg;
} }
@ -81,14 +73,10 @@ public class ImageGenerator extends Window {
tracker.waitForAll (); tracker.waitForAll ();
int w = img.getWidth (null); int w = img.getWidth (null);
int h = img.getHeight (null); int h = img.getHeight (null);
try { rimg = new SunImageWrapper (img, null, w, h, this);
rimg = new ActivatedImageWrapper (img, null, w, h, this); } catch (Exception x) {
} catch (ClassNotFoundException notfound) { System.err.println ("Can't create image: "+x);
rimg = new SunImageWrapper (img, null, w, h, this); }
} catch (NoClassDefFoundError notfound) {
rimg = new SunImageWrapper (img, null, w, h, this);
}
} catch (Exception x) {}
return rimg; return rimg;
} }
@ -106,14 +94,9 @@ public class ImageGenerator extends Window {
Image img = createImage (w, h); Image img = createImage (w, h);
Graphics g = img.getGraphics (); Graphics g = img.getGraphics ();
g.drawImage (img1, 0, 0, null); g.drawImage (img1, 0, 0, null);
try { rimg = new SunImageWrapper (img, g, w, h, this);
rimg = new ActivatedImageWrapper (img, g, w, h, this);
} catch (ClassNotFoundException notfound) {
rimg = new SunImageWrapper (img, g, w, h, this);
} catch (NoClassDefFoundError notfound) {
rimg = new SunImageWrapper (img, g, w, h, this);
}
} catch (Exception x) { } catch (Exception x) {
System.err.println ("Can't create image: "+x);
x.printStackTrace (); x.printStackTrace ();
} }
return rimg; return rimg;
@ -132,14 +115,10 @@ public class ImageGenerator extends Window {
Image img = createImage (w, h); Image img = createImage (w, h);
Graphics g = img.getGraphics (); Graphics g = img.getGraphics ();
g.drawImage (img1, 0, 0, null); g.drawImage (img1, 0, 0, null);
try { rimg = new SunImageWrapper (img, g, w, h, this);
rimg = new ActivatedImageWrapper (img, g, w, h, this); } catch (Exception x) {
} catch (NoClassDefFoundError notfound) { System.err.println ("Can't create image: "+x);
rimg = new SunImageWrapper (img, g, w, h, this); }
} catch (ClassNotFoundException notfound) {
rimg = new SunImageWrapper (img, g, w, h, this);
}
} catch (Exception x) {}
return rimg; return rimg;
} }
@ -152,6 +131,7 @@ public class ImageGenerator extends Window {
tracker.addImage (img, 0); tracker.addImage (img, 0);
tracker.waitForAll (); tracker.waitForAll ();
} catch (Exception x) { } catch (Exception x) {
System.err.println ("Can't create image: "+x);
x.printStackTrace (); x.printStackTrace ();
} }
return img; return img;