protected void installListeners(){
  frame.addPropertyChangeListener(this);
  addPropertyChangeListener(this);
}

protected void installListeners ( ) { frame . addPropertyChangeListener ( this ) ; addPropertyChangeListener ( this ) ; }
install the listeners on the title pane .
