public static int buttonSize = 16;
public static ImageIcon warningImage;
public static ImageIcon invisibleImage;
protected static void initIcons() {
DrawingAttributes blackDa = new DrawingAttributes();
DrawingAttributes invisDa = new DrawingAttributes();
invisDa.setLinePaint(OMColor.clear);
invisDa.setFillPaint(OMColor.clear);
DrawingAttributes yellowDa = new DrawingAttributes();
yellowDa.setLinePaint(OMColor.yellow);
yellowDa.setFillPaint(OMColor.yellow);
IconPart ip = new BasicIconPart(new Rectangle2D.Double(0, 0, 100, 100));
ip.setRenderingAttributes(invisDa);
invisibleImage = OMIconFactory.getIcon(buttonSize, buttonSize, ip);