Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Hiding the Dock?



Interesting...I'll have to look into that solution.

FWIW, we achieve hiding the dock and menubars by calling
com.apple.cocoa.application.NSMenu's setMenuBarVisible method from our Java
code.  

And then, readjust our app size and position:
	setSize(java.awt.Toolkit.getDefaultToolkit().getScreenSize());
	setLocation(0, 0);

We haven't see any problems with this approach, although I have read several
times it isn't such a good idea to mix Java with Cocoa Java.  :)

---
Mark Brown, Senior Software Engineer
Innovative Software Engineering
Technology Innovation Center
100 Oakdale Campus, #101 TIC
Iowa City, IA  52242
 
"The difference between ordinary and extraordinary is that little extra"


> -----Original Message-----
> From: java-dev-bounces+markbrown=email@hidden 
> [mailto:java-dev-bounces+markbrown=email@hidden]
>  On Behalf Of Robert MacGregor
> Sent: Wednesday, August 17, 2005 2:11 PM
> To: Jeremy Wood; apple java-dev
> Subject: Re: Hiding the Dock?
> 
> 
> Here's one technique posted recently to the Cocoa-Dev list:
> 
>      From:       email@hidden
>      Subject:     Solved  Re: Fullscreen window after hiding Dock  
> works in 10.4 but not 10.3
>      Date:     August 3, 2005 3:12:28 PM EDT (CA)
>      To:       email@hidden
> 
> Keywords: Kiosk mode, full-screen window, Dock, menu-bar,  
> LSUIPresentationMode
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Hiding the Dock? (From: Robert MacGregor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.