public DTipOfTheDay(JFrame parent,boolean showTipsOnStartup,ResourceBundle tips,int tipIndex){
  super(parent,Dialog.ModalityType.DOCUMENT_MODAL);
  this.tipIndex=tipIndex;
  readTips(tips,"TipOfTheDayAction.TipOfTheDay");
  initComponents(showTipsOnStartup);
}

public DTipOfTheDay ( JFrame parent , boolean showTipsOnStartup , ResourceBundle tips , int tipIndex ) { super ( parent , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . tipIndex = tipIndex ; readTips ( tips , "TipOfTheDayAction.TipOfTheDay" ) ; initComponents ( showTipsOnStartup ) ; }
construct tip of the day dialog
