super();
this.ctx = new PaintContext(CacheMode.FIXED_SIZES);
}
protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
DesktopPane panePainter = new DesktopPane();
panePainter.setDimension(new Dimension(width, height));
panePainter.paintIcon(c, g, 0, 0);
}