diff options
-rw-r--r-- | base/common/src/com/netscape/cmscore/base/JDialogPasswordCallback.java | 2 | ||||
-rw-r--r-- | base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/base/common/src/com/netscape/cmscore/base/JDialogPasswordCallback.java b/base/common/src/com/netscape/cmscore/base/JDialogPasswordCallback.java index 51685f42e..4bcf9b44f 100644 --- a/base/common/src/com/netscape/cmscore/base/JDialogPasswordCallback.java +++ b/base/common/src/com/netscape/cmscore/base/JDialogPasswordCallback.java @@ -231,7 +231,7 @@ public class JDialogPasswordCallback implements PasswordCallback { // toFront seems to cause the dialog to go blank on unix! //d.toFront(); - d.show(); + d.setVisible(true); /////////////////////////////////////////////////// // Return results diff --git a/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java b/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java index caf05c6df..246e6d96f 100644 --- a/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java +++ b/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java @@ -43,7 +43,7 @@ import com.netscape.certsrv.base.ISubsystem; * can be loaded into cert server kernel to perform * run time system profiling. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ @@ -90,7 +90,7 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable { * Note that individual subsystem should be initialized in a separated thread if it has dependency on the * initialization of other subsystems. * <P> - * + * * @param owner owner of this subsystem * @param config configuration store */ @@ -103,7 +103,7 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable { mTextArea = new TextArea(); // mTextArea.setSize(500, 180); - //mGC = new JButton("GC"); + //mGC = new JButton("GC"); // pane.setLayout(new GridLayout(2, 1)); pane.add(mTextArea); // pane.add(mGC); @@ -277,7 +277,7 @@ class ThreadTableEvent extends MouseAdapter { field.setEditable(false); - // get stack trace + // get stack trace Thread threads[] = new Thread[100]; int numThreads = Thread.enumerate(threads); @@ -304,7 +304,7 @@ class ThreadTableEvent extends MouseAdapter { dialog.setVisible(true); dialog.setContentPane(pane); - dialog.show(); + dialog.setVisible(true); } } } |