@Override public void removeNotify() { // This method gets called when this Preview is removed. super.removeNotify(); }