wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Threads and Applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Threads and Applets" Watch "Threads and Applets" New topic
Author

Threads and Applets

usha nataraj
Greenhorn

Joined: Jul 21, 2004
Posts: 6
Hi,
Give me a typical scenario in application development, when you use
a) Thread
b) Applet.

thanks,
usha.


Thanks 'n Regards,<br />UshaRaju.
Darin Niard
Ranch Hand

Joined: Jun 08, 2004
Posts: 118
a) When you have a need to do multiple things at once.
b) When you want your program embedded in a web page.

Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
you can even have a situation in which you want to do both


42
Tom Hill
Ranch Hand

Joined: Aug 24, 2003
Posts: 115
a) A clock that runs in the background of your application which does something completely different. eg have two things running at once. (probably as a DeamonThread).

b) Remember that the terms Applet and Application are different things! An applet is a method of distributing the program you have written on Webpages.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Threads and Applets
 
Similar Threads
rule roundup applet not running in my browser
Write with applet
Can applets create threads?
Write with applet
Problem in Writing policy file ???(Security)