What can an applet do, JAVA Programming

Assignment Help:

What Can an Applet Do?

An applet can:

• Draw pictures on a web page
• Create a new window and draw in it.
• Play sounds.
• Receive input from the user by the keyboard or the mouse.
• Form a network connection to the server from that it came and can send to and receive arbitrary data from that server.

Anything you can do along with these abilities you can do in an applet. An applet cannot:

• Write data on any of the host's disks.
• Read any data from the host's disks without the user's permission. In a few environments, notably Netscape, an applet cannot read data from the user's disks even with permission.
• Delete files
• Read from or write to arbitrary blocks of memory, even on a non-memory-protected operating system like the MacOS. All memory access is strictly controlled.
• Form a network connection to a host on the Internet other than the one from which it was downloaded.
• Call the native API directly (though Java API calls may eventually lead back to native API calls).
• Introduce a virus or trojan horse within the host system.
• An applet is not supposed to be able to crash the host system. Therefore in practice Java isn't quite stable enough to make this claim yet.


Related Discussions:- What can an applet do

Difference among using bind() and rebind() methods of naming, What is the d...

What is the difference among using bind() and rebind() methods of Naming Class? Ans) Bind method (String name) binds the specified name to a remote object whereas rebind(String

Program on while and until loop, Question Based on the program fragmen...

Question Based on the program fragment below, rewrite the outer for loop using: a. while loop b. repeat..until loop

Control structures, JavaScript supports the normal control structures: ...

JavaScript supports the normal control structures: The conditionals if, if...else, & switch; The iterations for, while, do...while, break, & continue;

How much cpu time does an applet get, How much CPU time does an applet get?...

How much CPU time does an applet get? One of the few legitimate concerns about hostile applets is excessive use of CPU time. It is possible on a non-preemptively multitasking s

Conditional Operators, I need a chart and how this works with java? The fun...

I need a chart and how this works with java? The functions itself.

Write a short note on image preloading process, Write a short note on image...

Write a short note on image preloading process? The primary use of image preloading procedure is to download the image within the cache before it is actually required to displa

Write a java client by using arraylists, 1. The purpose of this problem is ...

1. The purpose of this problem is to practice using ArrayLists.Write a Java client file containing a mainmethod plus other methods as needed to solve the following problem (no clas

Simon game project, i''m trying to make a code to make the simon says game ...

i''m trying to make a code to make the simon says game and i can''t figure it outt

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd