diff agent/src/share/classes/sun/jvm/hotspot/HSDB.java @ 152:c70a245cad3a

6670684: 4/5 SA command universe did not print out CMS space information Summary: Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified the port was correct. Reviewed-by: dcubed
author dcubed
date Fri, 09 May 2008 08:55:13 -0700
parents a61af66fc99e
children 5bba3366a9a2
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/HSDB.java	Tue Apr 01 16:14:18 2008 -0700
+++ b/agent/src/share/classes/sun/jvm/hotspot/HSDB.java	Fri May 09 08:55:13 2008 -0700
@@ -398,7 +398,7 @@
     frame.getContentPane().add(desktop);
     GraphicsUtilities.reshapeToAspectRatio(frame, 4.0f/3.0f, 0.75f, Toolkit.getDefaultToolkit().getScreenSize());
     GraphicsUtilities.centerInContainer(frame, Toolkit.getDefaultToolkit().getScreenSize());
-    frame.show();
+    frame.setVisible(true);
 
     Runtime.getRuntime().addShutdownHook(new java.lang.Thread() {
         public void run() {