Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why applets

 
ramchander yshetti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
we use applets for displaying the images,sounds etc.,
we can do with html tags also.
please clear me
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets have the complete Java API at their disposal. If you browse through it you'll see plenty of capabilities that HTML (even in conjunction with JavaScript and CSS) has not, e.g. graphics.
 
Neerav Narielwala
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Applets help us to do work faster and smoother and less programming..
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Neerav Narielwala:
Yes Applets help us to do work faster and smoother and less programming..


I think that's too general a statement. There is some overlap between what applets and HTML/CSS/JS can do, and some of those areas are very simple to address with applets and very hard with HTML, and in other areas it's the other way around.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An applet will give the developer more control over state management and state transitions in a user interface. An applet doesn't have a back button, or a bookmark, like a web broswer does. Well, an applet does run in a web browser, but you know what I mean.

I'd think plaing a sound, or displaying an image would be much easier in an html page. But if you find applets easier, then all the power to you.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic