g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 8); g.drawLine(x + 2, y + 2, x + 2, y + 2); g.drawLine(x + 6, y + 2, x + 6, y + 2); g.drawLine(x + 10, y + 2, x + 10, y + 2);
g.drawLine(x + 1, y + 1, x + 13, y + 1); g.drawLine(x + 1, y + 2, x + 1, y + 8); g.drawLine(x + 2, y + 2, x + 2, y + 2); g.drawLine(x + 6, y + 2, x + 6, y + 2); g.drawLine(x + 10, y + 2, x + 10, y + 2);  g.drawLine(x + 4, y + 4, x + 4, y + 4); g.drawLine(x + 8, y + 4, x + 8, y + 4);
    public void paintIcon(Component c, Graphics g, int x, int y)     {      boolean enabled = false;      boolean focus = false;      if (c != null)         {          enabled = c.isEnabled();        focus = c.hasFocus();            }            // draw the outline      if (enabled)         g.setColor(MetalLookAndFeel.getBlack());      else        g.setColor(MetalLookAndFeel.getControlDarkShadow());      g.drawLine(x + 1, y, x + 13, y);      g.drawLine(x + 14, y + 1, x + 14, y + 7);      g.drawLine(x + 14, y + 8, x + 7, y + 15);      g.drawLine(x + 6, y + 14, x, y + 8);      g.drawLine(x, y + 7, x, y + 1);            // fill the icon      if (focus)        g.setColor(MetalLookAndFeel.getPrimaryControlShadow());      else        g.setColor(MetalLookAndFeel.getControl());      g.fillRect(x + 1, y + 2, 13, 7);      g.drawLine(x + 2, y + 9, x + 12, y + 9);      g.drawLine(x + 3, y + 10, x + 11, y + 10);      g.drawLine(x + 4, y + 11, x + 10, y + 11);      g.drawLine(x + 5, y + 12, x + 9, y + 12);      g.drawLine(x + 6, y + 13, x + 8, y + 13);      g.drawLine(x + 7, y + 14, x + 7, y + 14);            // if the slider is enabled, draw dots and highlights      if (c.isEnabled())        {          if (focus)            g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow());          else            g.setColor(MetalLookAndFeel.getBlack());          g.drawLine(x + 3, y + 3, x + 3, y + 3);          g.drawLine(x + 7, y + 3, x + 7, y + 3);          g.drawLine(x + 11, y + 3, x + 11, y + 3);          g.drawLine(x + 5, y + 5, x + 5, y + 5);          g.drawLine(x + 9, y + 5, x + 9, y + 5);          g.drawLine(x + 3, y + 7, x + 3, y + 7);          g.drawLine(x + 7, y + 7, x + 7, y + 7);          g.drawLine(x + 11, y + 7, x + 11, y + 7);      // draw highlights          if (focus)            g.setColor(MetalLookAndFeel.getPrimaryControl());          else            g.setColor(MetalLookAndFeel.getWhite());      g.drawLine(x + 1, y + 1, x + 13, y + 1);      g.drawLine(x + 1, y + 2, x + 1, y + 8);      g.drawLine(x + 2, y + 2, x + 2, y + 2);      g.drawLine(x + 6, y + 2, x + 6, y + 2);      g.drawLine(x + 10, y + 2, x + 10, y + 2);      g.drawLine(x + 4, y + 4, x + 4, y + 4);      g.drawLine(x + 8, y + 4, x + 8, y + 4);      g.drawLine(x + 2, y + 6, x + 2, y + 6);      g.drawLine(x + 6, y + 6, x + 6, y + 6);      g.drawLine(x + 10, y + 6, x + 10, y + 6);        }    }        