protected void uninstallListeners(){
  frame.removePropertyChangeListener(this);
  removePropertyChangeListener(this);
}

protected void uninstallListeners ( ) { frame . removePropertyChangeListener ( this ) ; removePropertyChangeListener ( this ) ; }
uninstall the listeners from the title pane .
