private void prev(){
  if (changed() && !MessageBox.confirmDialog(owner,"Are you sure you want to return to previous page?\n" + "This will discard all your changes."))   return;
  hdrPane.setLeft(dbIcon);
  titleLb.setText("Connect To Database");
  subTitleLb.setText("Specify database connection properties...");
  rootPane.setCenter(connLayerPnl);
  prevBtn.setDisable(true);
  nextBtn.setText("Next");
  Controls.tooltip(nextBtn,"Go to \"XML and POJO generation\" page");
}

private void prev ( ) { if ( changed ( ) && ! MessageBox . confirmDialog ( owner , "Are you sure you want to return to previous page?\n" + "This will discard all your changes." ) ) return ; hdrPane . setLeft ( dbIcon ) ; titleLb . setText ( "Connect To Database" ) ; subTitleLb . setText ( "Specify database connection properties..." ) ; rootPane . setCenter ( connLayerPnl ) ; prevBtn . setDisable ( true ) ; nextBtn . setText ( "Next" ) ; Controls . tooltip ( nextBtn , "Go to \"XML and POJO generation\" page" ) ; }
go to & quot ; connect to database & quot ; panel .
