Exemple #1
0
 /**
  * Help System
  *
  * @param frame Parent
  * @param title Window
  * @param url URL to display
  */
 public Help(Frame frame, String title, URL url) {
   super(frame, title, false);
   try {
     jbInit();
     info.setPage(url);
   } catch (Exception ex) {
     log.log(Level.SEVERE, "", ex);
   }
   AEnv.positionCenterWindow(frame, this);
 } //	Help
Exemple #2
0
 /**
  * Help System for Window Help
  *
  * @param frame Parent
  * @param title Title
  * @param mWindow Window Model
  */
 public Help(Frame frame, String title, GridWindow mWindow) {
   super(frame, title, false);
   try {
     jbInit();
     loadInfo(mWindow);
   } catch (Exception ex) {
     log.log(Level.SEVERE, "", ex);
   }
   AEnv.positionCenterWindow(frame, this);
 } //	Help
Exemple #3
0
 /**
  * Help System
  *
  * @param frame Parent
  * @param title Window
  * @param helpHtml Helptext
  */
 public Help(Frame frame, String title, String helpHtml) {
   super(frame, title, false);
   try {
     jbInit();
     info.setContentType("text/html");
     info.setEditable(false);
     info.setBackground(CompierePLAF.getFieldBackground_Inactive());
     info.setText(helpHtml);
   } catch (Exception ex) {
     log.log(Level.SEVERE, "Help", ex);
   }
   AEnv.positionCenterWindow(frame, this);
 } //	Help