Print this page
4719 update gate build environment to [open]jdk7 4742 update manifests for javadoc7 4743 Fix deprecated /usr/j2se usage in slp and remove from filesystem(5) manpage 4744 remove traces of /var/sadm/system/admin/default_java Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Richard Lowe <richlowe@richlowe.net>
        
@@ -18,12 +18,10 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
- * ident        "%Z%%M% %I%     %E% SMI"
- *
  * Copyright (c) 1999-2000 by Sun Microsystems, Inc.
  * All rights reserved.
  */
 
     import java.awt.*;
@@ -280,11 +278,11 @@
                 DurationHelper.this.durationHelperClose(true);
             } else if (e.getSource() == cancel) {
                 DurationHelper.this.durationHelperClose(false);
             } else if (e.getSource() == help) {
                 if (hd != null)
-                    hd.show();
+                    hd.setVisible(true);
                 else {
                     hd = new HelpDialog(DurationHelper. this.parent,
                         getString("Help for entering time duration"),
                                     false, 5, 45);
                     hd.setVisible(true);
@@ -317,15 +315,17 @@
     }
 
     /*
      * A main method to test this class.
      */
+    /* BEGIN JSTYLED */
     /*
     public static void main(String args[]) {
         Frame f = new Frame("Test DurationHelper");
         f.setVisible(true); // for help dialog to use this as parent
         DurationHelper dh = new DurationHelper(f, Color.white, Color.black);
         dh.setVisible(true);
         System.out.println("Save is " + dh.save);
     }
           */
+    /* END JSTYLED */
 }