VectorLinux
April 24, 2014, 09:27:41 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: embedding java app in web page?  (Read 1346 times)
Daniel
Packager
Vectorian
****
Posts: 704


WWW
« on: March 24, 2010, 05:24:51 pm »

How do you embed a java application in a web page? I have some .jar java applications I would like to do this with. I looked at the (javascript?) code for the Gcalc 2 java app on the page here: www.gcalc.net
I made an html file using that code and it worked for running Gcalc3 but not anything else.
Logged

The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM
newt
Vectorian
****
Posts: 1132



« Reply #1 on: March 25, 2010, 06:29:57 am »

If memory serves me you just contain the class (or jar) file within an applet tag.

check here for reference: http://java.sun.com/j2se/1.4.2/docs/guide/misc/applet.html
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!