Java 7 for Mac OSX
Gregg Wonderly
gregg at wonderly.org
Tue Feb 21 20:33:12 PST 2012
On 2/21/2012 6:52 PM, Mike Swingler wrote:
> On Feb 21, 2012, at 4:37 PM, Gregg Wonderly wrote:
>
>> I've only recently (3 years or so) been developing on the Mac, but still, the same Java Jar files sitting on my desktop can be double clicked, and they just work. Granted, when I came to the Mac, I needed to set the system property to get the menubar to work correctly on the Mac (what's up with that anyway?)
> Unfortunately, using the screen menu bar on the Mac means opt-ing into TCK-spec breaking behavior. We could never ship the screen menu bar on by default without changing the compliance tests themselves.
I guessed that perhaps there was something about TCK, but I just couldn't
imagine that it would be an insurmountable issue to get something changed so
that the menubar, on the window, was somehow a requirement of the TCK-spec. I
thought that Apple should of been earning points with the JCP given the effort
to make Java viable on the Mac.
> It's nice you haven't noticed the incompatibilities.
I guess that I wasn't affected by anything that was "operationally" broken.
There are, of course, always "swing" issues with padding etc., but I always use
a layout manager (GridbagLayout via my Packer subclass) and, in general, don't
rely on insets and other nuances to create "working" UIs. People doing absolute
layout or otherwise relying on precise component size, insets, preferred size
etc, probably have had to deal with all kinds of things.
Gregg Wonderly
More information about the macosx-port-dev
mailing list