g.setColor(Color.black); g.drawLine(x, y + 3, x, y + 12); g.drawLine(x, y + 12, x + 15, y + 12); g.drawLine(x + 15, y + 12, x + 15, y + 2); g.drawLine(x + 14, y + 3, x + 9, y + 3); g.drawLine(x + 8, y + 2, x + 1, y + 2); g.setColor(new Color(204, 204, 255)); g.fillRect(x + 2, y + 4, 7, 8); g.fillRect(x + 9, y + 5, 6, 7); g.setColor(new Color(102, 102, 153)); g.drawLine(x + 9, y + 2, x + 14, y + 2); g.setColor(new Color(50, 50, 120)); g.drawLine(x + 9, y + 1, x + 15, y + 1); g.drawLine(x + 10, y, x + 15, y);
y = y + getShift(); g.setColor(MetalLookAndFeel.getBlack()); g.drawLine(x, y + 6, x, y + 15); g.drawLine(x, y + 15, x + 15, y + 15); g.drawLine(x + 15, y + 15, x + 15, y + 5); g.drawLine(x + 14, y + 6, x + 9, y + 6); g.drawLine(x + 8, y + 5, x + 1, y + 5); g.setColor(MetalLookAndFeel.getPrimaryControl()); g.fillRect(x + 2, y + 7, 7, 8); g.fillRect(x + 9, y + 8, 6, 7); g.setColor(MetalLookAndFeel.getPrimaryControlShadow()); g.drawLine(x + 9, y + 5, x + 14, y + 5); g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow()); g.drawLine(x + 9, y + 4, x + 15, y + 4); g.drawLine(x + 10, y + 3, x + 15, y + 3);
    public void paintIcon(Component c, Graphics g, int x, int y)     {      // TODO: pick up appropriate UI colors      g.setColor(Color.black);      g.drawLine(x, y + 3, x, y + 12);      g.drawLine(x, y + 12, x + 15, y + 12);      g.drawLine(x + 15, y + 12, x + 15, y + 2);      g.drawLine(x + 14, y + 3, x + 9, y + 3);      g.drawLine(x + 8, y + 2, x + 1, y + 2);      g.setColor(new Color(204, 204, 255));      g.fillRect(x + 2, y + 4, 7, 8);      g.fillRect(x + 9, y + 5, 6, 7);      g.setColor(new Color(102, 102, 153));      g.drawLine(x + 9, y + 2, x + 14, y + 2);      g.setColor(new Color(50, 50, 120));      g.drawLine(x + 9, y + 1, x + 15, y + 1);      g.drawLine(x + 10, y, x + 15, y);    }