jdk/src/share/classes/sun/awt/image/SunVolatileImage.java
changeset 557 800259d3792b
parent 2 90ce3da70b43
child 887 0aab8d3fa11a
child 715 f16baef3a20e
equal deleted inserted replaced
556:0aaf0da3931d 557:800259d3792b
   163             graphicsConfig instanceof sun.print.PrinterGraphicsConfig ||
   163             graphicsConfig instanceof sun.print.PrinterGraphicsConfig ||
   164             (caps != null && !caps.isAccelerated()))
   164             (caps != null && !caps.isAccelerated()))
   165         {
   165         {
   166             return new BufImgVolatileSurfaceManager(this, context);
   166             return new BufImgVolatileSurfaceManager(this, context);
   167         }
   167         }
   168         return SurfaceManagerFactory.createVolatileManager(this, context);
   168         SurfaceManagerFactory smf = SurfaceManagerFactory.getInstance();
       
   169         return smf.createVolatileManager(this, context);
   169     }
   170     }
   170 
   171 
   171     private Color getForeground() {
   172     private Color getForeground() {
   172         if (comp != null) {
   173         if (comp != null) {
   173             return comp.getForeground();
   174             return comp.getForeground();