From 214fa1fb1ce97fa827e74c5930dbcb012db7f3b1 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Sun, 18 Feb 2007 08:44:18 +0000
Subject: [PATCH] improve MacOSX native LAF: set the application name for the menu bar and the dock.

---
 opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java b/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java
index 00c7fe1..53466b3 100644
--- a/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java
+++ b/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2007 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.statuspanel;
 
@@ -93,6 +93,8 @@
     {
       public void run()
       {
+        // Setup MacOSX native menu bar before AWT is loaded.
+        Utils.setMacOSXMenuBar(getMsg("statuspanel-dialog-title"));
         SplashScreen.main(args);
         returnValue[0] = 0;
       }

--
Gitblit v1.10.0