public void draw3DOval(Graphics g,Color colors[],int x,int y,int w,int h,boolean raised){
  Color c=g.getColor();
  g.setColor(raised ? colors[HIGHLIGHT_COLOR] : colors[SHADOW_COLOR]);
  g.drawArc(x,y,w,h,45,180);
  g.setColor(raised ? colors[SHADOW_COLOR] : colors[HIGHLIGHT_COLOR]);
  g.drawArc(x,y,w,h,225,180);
  g.setColor(c);
}

public void draw3DOval ( Graphics g , Color colors [ ] , int x , int y , int w , int h , boolean raised ) { Color c = g . getColor ( ) ; g . setColor ( raised ? colors [ HIGHLIGHT_COLOR ] : colors [ SHADOW_COLOR ] ) ; g . drawArc ( x , y , w , h , 45 , 180 ) ; g . setColor ( raised ? colors [ SHADOW_COLOR ] : colors [ HIGHLIGHT_COLOR ] ) ; g . drawArc ( x , y , w , h , 225 , 180 ) ; g . setColor ( c ) ; }
draw a 3d oval .
