Java in iWeb?

Soundburst

macrumors 6502a
Original poster
Oct 4, 2006
691
20
Hey guys,

I've made a random little application using the Processing application and exported the file . . .all it's contents are in an "applet" folder.

I can also export the app as a ".app" file.

Is there any way I can have this little app embedded into my web page. I use iWeb with an FTP server.

Thanks. :)
 

Ride9650

macrumors 6502
Jun 29, 2007
352
0
I believe iweb has a HTML snippets panel you can use to input HTML.
Just take the HTML off the index page that Processing generates and paste it in.

If for some reason iweb doesn't like object tags, you can also copy and paste after iweb generates the the whole site.
 
Comment

Soundburst

macrumors 6502a
Original poster
Oct 4, 2006
691
20
I believe iweb has a HTML snippets panel you can use to input HTML.
Just take the HTML off the index page that Processing generates and paste it in.

If for some reason iweb doesn't like object tags, you can also copy and paste after iweb generates the the whole site.
Hey, thanks for the help. . .I've found the html file in the applet folder I exported. . .but surely this isn't my whole app? It's only 4kb big?

Do I have to upload the entire applet folder to my web space in the /public.html folder?

Thanks again :)
 
Comment

Ride9650

macrumors 6502
Jun 29, 2007
352
0
Hey, thanks for the help. . .I've found the html file in the applet folder I exported. . .but surely this isn't my whole app? It's only 4kb big?

Do I have to upload the entire applet folder to my web space in the /public.html folder?

Thanks again :)
Correct. Its not your whole app. The object tag links to the applet itself and loads all the necessary files to embed the applet in the web page, thats why the the web page is so small.

You can, but don't have to upload the entire thing, just the .jar that gets generated.
Also:
- If you want the links to the source code to work you'll have to upload the .pde file too.
- If you want the loading graphic, you might as well just upload everything.

Remember to change the paths in the HTML if you're not going to keep everything in one place.

Lastly, next time, the Processing website is probably where you should start your search for answers to questions. This took me less than a minute to find

http://processing.org/learning/gettingstarted/

Theres also now a wiki
http://wiki.processing.org/w/Main_Page

And a forum:
http://forum.processing.org/
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.