Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How to access Apple menu's About Menu item ?

How to access Apple menu's About Menu item ?
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Location: India
Status: Offline
Reply With Quote
Aug 21, 2001, 03:37 AM
 
Hi all,
i have a java application, in which i have set the property of using

the ScreenMenuBar.
com.apple.macos.useScreenMenuBar=true

now i want to display the applications About Box from the About menu

item provided in the Apple menu.
For this i have written the class:

class AboutBoxTest implements MRJAboutHandler
{
public QuitTest()
{
MRJApplicationUtils.registerAboutHandler (this);
}

public void handleAbout
{
AboutBox aAboutBox = new AboutBox();
}
}

i have also set the property
com.apple.mrj.application.apple.menu.about.name = App

Now the problem is that, i want to display my AboutBox. But i dont know

how it will be done.
Please suggest. Its urgent.
     
Rachna  (op)
Fresh-Faced Recruit
Join Date: May 2001
Location: India
Status: Offline
Reply With Quote
Aug 21, 2001, 11:08 PM
 
Hi,
I have got the solution to the problem myself.

But now the problem is that when i use a modal AboutBox, the application hangs and the wait cursor comes and nothings happens.
And if I use the non-modal About Box then it works properly.

But my requirement is to use modal AboutBox.
How to solve this problem? Can anybody suggest?
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Computer Error: Unknown
Status: Offline
Reply With Quote
Aug 25, 2001, 06:39 AM
 
I believe that Apple does not want developers to create modal about boxes, but rather ones that can be dismissed by means of the close box (The red one).
"...Because the people who are crazy enough to think they can change the world,
are the ones who do."
-To the Crazy Ones

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:26 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2