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.*;
@@ -489,11 +487,11 @@
                 DateTimeDialog.this.setMidnight();
             }
             else
                if (e.getSource() == help) {
                 if (hd != null)
-                  hd.show();
+                        hd.setVisible(true);
                 else {
                   hd = new
                     HelpDialog(DateTimeDialog.this.parent,
                         getString("Help for Date and Time Dialog"), false);
                   hd.setVisible(true);
@@ -549,10 +547,11 @@
         System.out.println("Missing resource "+key+", using English.");
         return key;
         }
     }
 
+    /* BEGIN JSTYLED */
     /*
     public static final void main(String args[]) {
     Frame f = new Frame();
     //  while (true){
         DateTimeDialog d = new DateTimeDialog(f, Color.white, Color.black);
@@ -559,6 +558,7 @@
         d.setVisible(true);
         System.out.println(d.toString());
       //    }
     }
     */
+    /* END JSTYLED */
 }