Andrew Thompson said:
:On 13 Jan 2005 17:36:29 -0800, Neil Collier wrote:
:
:> When I run my java applet ...
:
:URL?
:
:> ..on my Mac it does not work.
:
:Is your applet 1.3 compatible? AFAIU, Java has to be specially
ackaged on Mac's in order to invoke 1.4.
That actually depends on multiple factors. Which Mac OS? Which
browser? And more.
If we're talking pre-OS X, then forget Swing. With some hacks, it's
possible to get Swing 1.1.1 onto OS 9, but it's not pretty and it will
NEVER be developed further.
If we're talking Mac OS X (and forget anything earlier than 10.2 if
you're wise), it depends partly on which version of Java is installed
and partly on what Java release is supported by the browser. Only
Apple's own Safari browser, of those I'm aware of, automatically
supports all available versions of Java that Apple has made available.
There's a Java embedding plug-in that lets Netscape and Mozilla-based
browsers use 1.4.x. I'm not certain if OS X 10.2.x can go all the way
to 1.4.2, or if it's limited to 1.3.1 or an earlier 1.4 release.
And FYI to Andrew, that packaging thing only applies to double-clickable
applications, not to applets. Browsers, I'm afraid, are a different
situation entirely.
:
:> ...It tries to use some custom mac gui ..
What does that mean -- and it's a Mac, not "mac". There is no custom
Mac GUI; there's the browser, where an applet is concerned. So far as I
know, look and feel issues are the same as in applications -- it'll take
the system's default L&F unless instructed otherwise, and that's Aqua.
:
:A better group for GUI questions..
:<
http://www.physci.org/codes/javafaq.jsp#cljg>
:
:> ..interface to show graphics in the nice mac 'Aqua' theme,
:> but this then fails to work. ..
As Andrew said, what *specifically* is the result which results in your
statement that it "fails to work"?
:
:In what sense? Does your applet throw exceptions?
oes it load but display rendering artifacts?
:Is it simply lazy?
:<
http://www.physci.org/codes/javafaq.jsp#exact>
If you've got an version of Mac OS X from 10.2 onward, it has a
relatively good implementation of Java, somewhere between 1.3 and 1.4.2.
So details and specifics would be helpful here.
= Steve =