void (Component c, Graphics g, int x, int y) { final Graphics2D graphics = (Graphics2D)g.create(); graphics.setTransform(AffineTransform.getQuadrantRotateInstance(2, myDelegate.getIconWidth() / 2.0, myDelegate.getIconHeight() / 2.0)); myDelegate.paintIcon(c, graphics, x, 0); }