/**
  * Paints a line at the current location of the divider.
  *
  * @param g the Graphics used to paint
  */
 public void paint(Graphics g) {
   if (station.isResizingEnabled() && !station.isDisabled()) {
     if (current != null && pressed) {
       station.getPaint().drawDivider(g, bounds);
     }
   }
 }