private void reset(){
  mPixels=new byte[mDFTSize * mImageHeight];
  mMemoryImageSource=new MemoryImageSource(mDFTSize,mImageHeight,mColorModel,mPixels,0,mDFTSize);
  mMemoryImageSource.setAnimated(true);
  mWaterfallImage=createImage(mMemoryImageSource);
  repaint();
}

private void reset ( ) { mPixels = new byte [ mDFTSize * mImageHeight ] ; mMemoryImageSource = new MemoryImageSource ( mDFTSize , mImageHeight , mColorModel , mPixels , 0 , mDFTSize ) ; mMemoryImageSource . setAnimated ( true ) ; mWaterfallImage = createImage ( mMemoryImageSource ) ; repaint ( ) ; }
resets the memory image source and byte backing array when the dft point size has changed
