answersLogoWhite

0

Painting is how the applet displays its content to the user on the screen. Painting occurs when the Java Virtual Machine (JVM) determines that some or all of the screen area that the applet uses needs to be redrawn. This happens when the applet initially loads and becomes visible, when a previously obscured part of the applet becomes visible on the screen, or when the applet itself has requested that its screen area should be redrawn via the repaint() command and the next frame update is due. Coincidentally, painting is not limited to applets, as all graphical interfaces for Java require painting (although not all graphical interfaces expose this fact to the developer directly).

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

When an applet become an applet?

Any Java class that extends java.applet.Applet is an applet. http://java.sun.com/j2se/1.5.0/docs/api/java/applet/Applet.html


Differences between Java Applet and Java Beans?

Java applet is a program used to run java applications while beans is a compiler used to design java programs (IDE, GUI) :-) GilbertC


What is the DOS command applet?

There is nothing called DOS applet.. You can run Java applet from DOS..


What is an important difference between writing a Java application and a Java applet?

A Java applet is embedded within a web page, while a Java application will run directly on your computer.


What is a Java applet?

PCH answer small Embedded Java Program.


Differentiate Java applet and Java servlet?

Java Applet is an application designed to transmit on internet to execute on java compatible browsers. Java Servlet is a server side program used to provide services to clients.


Small Java-based programs are called?

Java applets


What is the file extension of an applet?

An applet is a Java application, this saves files in a .class extension


How do you run and compile a java applet program?

One can run and compile a Java applet program by agreeing to the terms and downloading it. It is possible to get a compiler online that will compile and run Java programs.


What is A defense against a hostile Java applet?

One defense against a hostile java applet is to disable applet functionality on the computer. This would prevent all applets - hostile, benign, and beneficial from executing.


What is a Java program that can be embedded called?

Applet


Describe java applet?

applets are small programs that can be run on a browser's window or an applet viewer.