private void paintBackground(SynthContext ctx,Graphics g,int x,int y,int w,int h,AffineTransform transform){
  Component c=ctx.getComponent();
  Color bg=(c != null) ? c.getBackground() : null;
  if (bg == null || bg.getAlpha() > 0) {
    SeaGlassPainter backgroundPainter=style.getBackgroundPainter(ctx);
    if (backgroundPainter != null) {
      paint(backgroundPainter,ctx,g,x,y,w,h,transform);
    }
  }
}

private void paintBackground ( SynthContext ctx , Graphics g , int x , int y , int w , int h , AffineTransform transform ) { Component c = ctx . getComponent ( ) ; Color bg = ( c != null ) ? c . getBackground ( ) : null ; if ( bg == null || bg . getAlpha ( ) > 0 ) { SeaGlassPainter backgroundPainter = style . getBackgroundPainter ( ctx ) ; if ( backgroundPainter != null ) { paint ( backgroundPainter , ctx , g , x , y , w , h , transform ) ; } } }
paint the object ' s background .
