equal
deleted
inserted
replaced
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(); |