@Override public void populateFrame(Audio a){
  if (!(a instanceof AudioListener)) {
    throw new IllegalArgumentException(a.getSystemName() + " is not an AudioListener object");
  }
  super.populateFrame(a);
  AudioListener l=(AudioListener)a;
  position.setValue(l.getPosition());
  velocity.setValue(l.getVelocity());
  oriAt.setValue(l.getOrientation(Audio.AT));
  oriUp.setValue(l.getOrientation(Audio.UP));
  gain.setValue(l.getGain());
  metersPerUnit.setValue(l.getMetersPerUnit());
}

@ Override public void populateFrame ( Audio a ) { if ( ! ( a instanceof AudioListener ) ) { throw new IllegalArgumentException ( a . getSystemName ( ) + " is not an AudioListener object" ) ; } super . populateFrame ( a ) ; AudioListener l = ( AudioListener ) a ; position . setValue ( l . getPosition ( ) ) ; velocity . setValue ( l . getVelocity ( ) ) ; oriAt . setValue ( l . getOrientation ( Audio . AT ) ) ; oriUp . setValue ( l . getOrientation ( Audio . UP ) ) ; gain . setValue ( l . getGain ( ) ) ; metersPerUnit . setValue ( l . getMetersPerUnit ( ) ) ; }
method to populate the edit listener frame with current values
