From 24c021c8d73c18a7aa9104a6333279f4bb150a6b 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.

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

diff --git a/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java b/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java
index 00c7fe1..53466b3 100644
--- a/opends/src/statuspanel/org/opends/statuspanel/StatusPanelLauncher.java
+++ b/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