drawLine(x2, y1, x1, y2);
drawLine(x2, y2, x1, y2);
draw3DRect(int x, int y, int width, int height, boolean raised){  Color color = getColor();  Color tl = color.brighter();  Color br = color.darker();      if (!raised)    {      Color tmp = tl;      tl = br;      br = tmp;    }      int x1 = x;  int y1 = y;  int x2 = x + width;  int y2 = y + height;      setColor(tl);  drawLine(x1, y1, x2, y1);  drawLine(x1, y2, x1, y1);  setColor(br);  drawLine(x2, y1, x2, y2);  drawLine(x2, y1, x1, y2);  setColor(color);}