private void paintDropLines(SeaGlassContext context,Graphics g){
  JTable.DropLocation loc=table.getDropLocation();
  if (loc == null) {
    return;
  }
  Color color=(Color)style.get(context,"Table.dropLineColor");
  Color shortColor=(Color)style.get(context,"Table.dropLineShortColor");
  if (color == null && shortColor == null) {
    return;
  }
  Rectangle rect;
  rect=getHDropLineRect(loc);
  if (rect != null) {
    int x=rect.x;
    int w=rect.width;
    if (color != null) {
      extendRect(rect,true);
      g.setColor(color);
      g.fillRect(rect.x,rect.y,rect.width,rect.height);
    }
    if (!loc.isInsertColumn() && shortColor != null) {
      g.setColor(shortColor);
      g.fillRect(x,rect.y,w,rect.height);
    }
  }
  rect=getVDropLineRect(loc);
  if (rect != null) {
    int y=rect.y;
    int h=rect.height;
    if (color != null) {
      extendRect(rect,false);
      g.setColor(color);
      g.fillRect(rect.x,rect.y,rect.width,rect.height);
    }
    if (!loc.isInsertRow() && shortColor != null) {
      g.setColor(shortColor);
      g.fillRect(rect.x,y,rect.width,h);
    }
  }
}

private void paintDropLines ( SeaGlassContext context , Graphics g ) { JTable . DropLocation loc = table . getDropLocation ( ) ; if ( loc == null ) { return ; } Color color = ( Color ) style . get ( context , "Table.dropLineColor" ) ; Color shortColor = ( Color ) style . get ( context , "Table.dropLineShortColor" ) ; if ( color == null && shortColor == null ) { return ; } Rectangle rect ; rect = getHDropLineRect ( loc ) ; if ( rect != null ) { int x = rect . x ; int w = rect . width ; if ( color != null ) { extendRect ( rect , true ) ; g . setColor ( color ) ; g . fillRect ( rect . x , rect . y , rect . width , rect . height ) ; } if ( ! loc . isInsertColumn ( ) && shortColor != null ) { g . setColor ( shortColor ) ; g . fillRect ( x , rect . y , w , rect . height ) ; } } rect = getVDropLineRect ( loc ) ; if ( rect != null ) { int y = rect . y ; int h = rect . height ; if ( color != null ) { extendRect ( rect , false ) ; g . setColor ( color ) ; g . fillRect ( rect . x , rect . y , rect . width , rect . height ) ; } if ( ! loc . isInsertRow ( ) && shortColor != null ) { g . setColor ( shortColor ) ; g . fillRect ( rect . x , y , rect . width , h ) ; } } }
paint the drop lines , if any .
