Click to See Complete Forum and Search --> : putting a java into html?


friggate
10-25-2008, 06:24 AM
I have a java applet I made and would like to put it into a webpage, I have read the tutorials but it all seems like I don't have the parts I should. I have a .java file and that's it, that's all that was exported.

Here is the .java file:

http://lovelago.googlepages.com/w3_test.java


What's a good clean way of getting it in?

Thanks.

chazzy
10-25-2008, 12:05 PM
well, first you need to compile it.

friggate
10-25-2008, 07:49 PM
Compile it, I had no Idea. I had read documents about adding code online and examined source code of pages (http://ejohn.org/apps/processing.js/examples/basic/arctangent.html) but not realised this, well I've downloaded a java compiler from the Apple dev site will get back to you.

friggate
10-25-2008, 08:04 PM
I don't believe it, the export option in Processing does it all for you, how can I have missed that, I was exporting an application and concentrating on that. God that's infuriating.

Thanks for posting though.

chazzy
10-25-2008, 08:41 PM
no no no. thank you! for posting.