private void drawRectangle(final Graphics2D g2d,final Color fillColor,final Color outLineColor,final int width,final int height){
  g2d.setColor(outLineColor);
  g2d.fillRect(BUBBLE_OFFSET,0,width,height);
  g2d.setColor(fillColor);
  g2d.fillRect(BUBBLE_OFFSET + 1,1,width - 2,height - 2);
}

private void drawRectangle ( final Graphics2D g2d , final Color fillColor , final Color outLineColor , final int width , final int height ) { g2d . setColor ( outLineColor ) ; g2d . fillRect ( BUBBLE_OFFSET , 0 , width , height ) ; g2d . setColor ( fillColor ) ; g2d . fillRect ( BUBBLE_OFFSET + 1 , 1 , width - 2 , height - 2 ) ; }
draw an outlined rectangle .
