code: protected static void adjustPan (Line line, float pan)
      {
          try {
              FloatControl control = (FloatControl) line.getControl(FloatControl.Type.PAN);
              control.setValue(pan);
          } catch (Exception e) {
              log.debug("Cannot set pan on line: " + e);
          }
      }
docs: Set the pan value for the specified line.