public void prepareFilter(float transition){
  try {
    method.invoke(filter,new Object[]{new Float(transition)});
  }
 catch (  Exception e) {
    throw new IllegalArgumentException("Error setting value for property: " + property);
  }
}

public void prepareFilter ( float transition ) { try { method . invoke ( filter , new Object [ ] { new Float ( transition ) } ) ; } catch ( Exception e ) { throw new IllegalArgumentException ( "Error setting value for property: " + property ) ; } }
prepare the filter for the transiton at a given time . the default implementation sets the given filter property , but you could override this method to make other changes .
