示例#1
0
 /**
  * Remove all references to anything we may have. We do this because (stupid) Swing seems to keep
  * around lots of different references to thei component and/or it's frame. So when we do a
  * window.dispose () this DataSourceHolder does not get gc'ed.
  */
 public void dispose() {
   if (frame != null) {
     frame.dispose();
   }
   formulaDataSource = null;
   frame = null;
   dataSources = null;
 }