My two cents, not based on experience but looking at Apple's example
code, you're widget doesn't work because you use Java not Javascript.
If you want to use Java, you'll need a widget-plugin:
I'm suggesting the plug-in because of Apple's 'Fortune' example code;
that code uses a Cocoa plug-in, unlike every other example which is
Javascript. Apple's documentation specifies a Cocoa-plugin so a Cocoa-
Java project may work.
Sample code is from 10.4's install DVD: /Developer/Examples/
Dashboard/Fortune
Rob
On 31-Jul-05, at 3:02 PM, Mickey Segal wrote:
I tried to make a Macintosh OS 10.4 widget from a Hello World java
applet and couldn't get it to work. The full code is at:
www.segal.org/java/widget/ along with a downloadable Hello Java.sit
file and a copy of the applet working in the web page.
Although I know a fair amount about Java applets, I know very
little about the Macintosh per se, so it is possible I am
committing some basic Macintosh error. I'd appreciate if someone
could point out what is wrong so I could post some cookbook applet
widget code and help Java people make widgets (although the demand
that is most obvious so far is from my 5 year old, who is
completely obsessed with widgets, but that should be a good leading
indicator).
_______________________________________________
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/rob.macgregor%
40sympatico.ca
This email sent to email@hidden
_______________________________________________
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