PDA

View Full Version : Widget Help




Sean7512
Jun 8, 2005, 11:10 PM
Hello, before I begin, I have little knowledge of programming. I've taken 2 classes in high school, True Basic and Java Programming. Our final project for Java had to be to develop a game. My friend and I decided to make a Who Wants To Be A Millionaire game. I was wondering how easy it would be to turn the code into a Tiger Widget? I should let you know that I know nothing of how to make GUIs in Java, so the game runs in a MS Dos window on my Windows XP machine. And to make the game, I used JCreator to code my project which consists of only 2 classes. If someone could please help me, I will gladly send over the coding and see what we can do.



brap
Jun 8, 2005, 11:15 PM
Widgets aren't Java. The UI is all HTML + CSS, with Javascript (big difference).

The ADC widget programming guide (developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_Tutorial/index.html#//apple_ref/doc/uid/TP40001340) is, actually, a great start.

Sean7512
Jun 8, 2005, 11:21 PM
hmm....alright. I've taken HTML at school as well. Let me ask you this...is it possible to port Java code with no GUI to a working Widget?

This is just something I'd like to make for fun and personal use, so any recommendations would be extremely helpful. Also, thanks for the link, as I am looking into it right now.

brap
Jun 9, 2005, 12:08 AM
is it possible to port Java code with no GUI to a working Widget?If it'll run as an applet in a web browser, it'll run in Dashboard. Check out the security model (http://developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_Tutorial/Security/chapter_10_section_1.html).