DRC,
Thanks for the update!
Is your Mac powerful enough to run a virtual Mountain Lion (OS X 10.8)
instance? I have
a virtual OS X 10.8 instance running within VMWare Fusion on OS X 10.7, which
is a lot
cheaper than buying a new Mac to test OS X 10.8.
One thing you should be aware of in OS X 10.8 is Gatekeeper. The default
security setting
is to only allow applications downloaded from the Mac App Store and from
identified
developers, so when I double-click on the TurboVNC pkg, I get a message saying
"TurboVNC.pkg can't be opened because it is from an unidentified developer".
As a
workaround, the user can just right-click it and select Open from the pop-up
menu, but the
Apple-recommended approach is to use a code-signing certificate. I've tried
doing this
with a standard code-signing certificate, but the only way I could get OS X
10.8 to
acknowledge me as an "identified developer" was to use an official Apple
code-signing
certificate, which is free, but only after paying $100 per year to join the
Apple
developer program.
I have tested the Java Swing full-screen mode code that I referred you to, and
on
OS X 10.7, it doesn't just add a non-functional full-screen button to the
window's title
bar - it functions just the same as full-screen mode in other Mac OS X
applications. And I have also tested programmatically toggling full-screen mode
with success, using:
com.apple.eawt.Application.getApplication().requestToggleFullScreen(turboVncViewport);
I've also tested event-handling, which seems to work on OS X 10.7 (Java
1.6.0_37) :
com.apple.eawt.FullScreenUtilities.addFullScreenListenerTo(turboVncViewport,
new com.apple.eawt.FullScreenAdapter() {
public void windowEnteringFullScreen(com.apple.eawt.AppEvent.FullScreenEvent
fse) {
System.out.println("TurboVNC viewport entering full-screen.");
}
public void windowEnteredFullScreen(com.apple.eawt.AppEvent.FullScreenEvent
fse) {
System.out.println("TurboVNC viewport entered full-screen.");
}
public void windowExitingFullScreen(com.apple.eawt.AppEvent.FullScreenEvent
fse) {
System.out.println("TurboVNC viewport exiting full-screen.");
}
public void windowExitedFullScreen(com.apple.eawt.AppEvent.FullScreenEvent
fse) {
System.out.println("TurboVNC viewport exited full-screen.");
}
});
Feel free to send me a build (or SVN branch) of your attempts to do this,
and I can test it on OS X 10.7 and 10.8.
I'll ask my boss how much time we can justify me spending on this.
Cheers,
James
On 20/02/2013, at 7:01 PM, DRC wrote
> Just FYI-- I've been looking into this full-screen issue, and I'm afraid
> it's a little more complicated than just invoking the code at the link
> below. What that code does is enable a full-screen button at the upper
> right of the window, but it's up to the app to actually listen for the
> full-screen notification. As you can imagine, figuring out how to make
> this properly interact with our existing mechanism of enabling
> full-screen mode could take some time. I'm happy to accept code
> contributions. Otherwise, I would need to secure funding for my time to
> upgrade my machine to Lion and really dig into the issue the right way.
>
>
> On 12/2/12 5:58 PM, James Wettenhall wrote:
>> The full-screen mode checkbox in the Java TurboVNC Viewer application
>> doesn't appear to provide true OS X 10.7 / 10.8 full-screen mode (hiding
>> the menu bar and the dock).
>>
>> Are there any plans to implement that?
>>
>> I just tried the Java code from the accepted answer on this Stack
>> Overflow page, and it seemed to work fine on my OS X 10.7 machine:
>>
>> http://stackoverflow.com/questions/6873568/fullscreen-feature-for-java-apps-on
>> <http://stackoverflow.com/questions/6873568/fullscreen-feature-for-java-apps-on-osx-lion>-osx-lion
>> <http://stackoverflow.com/questions/6873568/fullscreen-feature-for-java-apps-on-osx-lion>
>>
>> and according to the Stack Overflow page, the code is quietly ignored on
>> OS X 10.6.
>>
>> So I guess it should be possible to implement this in the Java TurboVNC
>> Viewer?
>>
>> We've been trying to "sell" the idea of using a remote desktop to some
>> of our Mac OS X users, but they have said that having both the Mac OS X
>> dock/menu-bar and the remote desktop's icons/menu makes the screen
>> appear cluttered and confusing.
>>
>> Cheers,
>> James
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> VirtualGL-Devel mailing list
> VirtualGL-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtualgl-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
VirtualGL-Devel mailing list
VirtualGL-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel