IconPart ip = new BasicIconPart(new Rectangle2D.Double(0, 0, 100, 100));
ip.setRenderingAttributes(invisDa);
invisibleImage = OMIconFactory.getIcon(buttonSize, buttonSize, ip);
IconPartList ipl = new IconPartList();
Polygon triangle = new Polygon(new int[] { 50, 90, 10, 50 }, new int[] {
10, 90, 90, 10 }, 4);
BasicIconPart bip = new BasicIconPart(triangle);
bip.setRenderingAttributes(yellowDa);
ipl.add(bip);
bip = new BasicIconPart(triangle);
bip.setRenderingAttributes(yellowDa);
ipl.add(bip);
bip = new BasicIconPart(triangle);
bip.setRenderingAttributes(blackDa);
ipl.add(bip);
bip = new BasicIconPart(new Line2D.Double(49, 35, 49, 65));
bip.setRenderingAttributes(blackDa);
ipl.add(bip);
bip = new BasicIconPart(new Line2D.Double(49, 75, 49, 77));
bip.setRenderingAttributes(blackDa);
ipl.add(bip);
bip = new BasicIconPart(new Line2D.Double(51, 35, 51, 65));
bip.setRenderingAttributes(blackDa);
ipl.add(bip);
bip = new BasicIconPart(new Line2D.Double(51, 75, 51, 77));
bip.setRenderingAttributes(blackDa);
ipl.add(bip);
warningImage = OMIconFactory.getIcon(buttonSize, buttonSize, ipl);
}