• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Applets and HTML

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay I have a couple questions.


Why does an Applet need an HTML file?

What are the types of programs that use HTML files (meaning are Applets the only ones that need them?)?

Is learning how to write up with HTML as challenging as learning a completely new programming language?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An applet is an element of a web page, as I'm sure you have found out. So without an HTML page containing an applet tag, there is no applet.

There is also another kind of Java code -called a JavaWebStart app- that uses HTML, but only as a means of starting the app. It then runs outside of any HTML page.

Like so much else in the Java world, this is covered in Oracle's Java Tutorial, at http://docs.oracle.com/javase/tutorial/deployment/webstart/index.html and http://docs.oracle.com/javase/tutorial/deployment/applet/index.html

HTML by itself isn't hard to get started with. Searching for "HTML introduction" or some such phrase will find relevant tutorials that will help you.
 
Taj Kore
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay. Thanks for the reply. I read through all those tutorials before I posted on CodeRanch, but it didn't click at that point. I learn very quickly with Bulletin Boards for some reason.
 
I am a man of mystery. Mostly because of this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic