public void stateChanged(ChangeEvent e){
}

public void stateChanged ( ChangeEvent e ) { }
this method is called when the state of the atabbedpane changes , i . e . when the tab to be displayed changes .
