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 hashcode and equal, The hashCode() and equals() methods have...

The hashCode() and equals() methods have to be very important, when objects implementing these two functions are added to collections. If not implemented or implemented incorre

What are the components of struts, Struts components can be classify into M...

Struts components can be classify into Model, View and Controller: ? Model: Components like business logic /business processes and data are the type of model. ? View: HTML, J

Explain drawing rectangles in java, Explain Drawing Rectangles in java ? ...

Explain Drawing Rectangles in java ? Drawing rectangles is easy. Begin with a Graphics object g and call its drawRect() method: public void drawRect(int x, int y, int width, i

Explain declaring- allocating and initializing two dimension, Explain the f...

Explain the following terms declaring, Allocating and initializing two dimensional array? Two dimensional arrays are declared, allocated and initialized much such as one dimens

Draw out a uml class diagram, Question: (a) Draw out a UML class diagra...

Question: (a) Draw out a UML class diagram that captures the following information: An Employee is a kind of Person. An ATM is a kind of Machine. Both an Employee and an ATM

Explanation of the inputstream with suitable diagrams, Problem 1) Descr...

Problem 1) Describe the concept of interfaces in Java with a suitable example for the same Explanation of the concept of interfaces with example 2) Describe the Inp

Develop a farm production system, Develop a Farm Production System Proje...

Develop a Farm Production System Project Description: I want software that will allow me to input/record the each day production of our farm and allow me to view the data bac

Plug-in for adobe after effects, Plug-in for Adobe after Effects Project...

Plug-in for Adobe after Effects Project Description: We are seeking software engineers to create a plug-in for Adobe after Effects (CS4 and above) that allows 3D extrusions f

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