Hi,
On Thu, 2006-12-14 at 14:45 +1000, Cameron McCormack wrote:
> One of the things I’ve been asked to do is to get Squiggle running with
> better integration into Mac OS X. There are two main ugly things at
> the moment: the fact that each JSVGViewerFrame has its own menu bar
> (whereas the app should have just the one application-wide one at the
> top of the screen), and that the file chooser that is shown when
> browsing for a file to open doesn’t look anything like the built-in
> OS X one.
For Mac OSX menu bar you could get it by using the following code, on
the startup of squigle, if I am not wrong it is available for Java 1.5+
(1.4 I don't know)
if (osName.startsWith("MAC")) {
System.setProperty("com.apple.mrj.application.apple.menu.about.name",
"ApplicationName eg:Squigle");
System.setProperty("apple.laf.useScreenMenuBar","true");
}
Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]