icon.setDimension(new Dimension(width, height));
icon.paintIcon(c, g, -3, -3);
}
private void paintErrorSign(Graphics2D g, JComponent c, int width, int height) {
ErrorSign icon = new ErrorSign();
icon.setDimension(new Dimension(width, height));
icon.paintIcon(c, g, 0, 0);
}