Applet draw a face , JAVA Programming

Write a Java Applet which will draw a face on applet as follows:

2286_applet.png

 

b)    Modify the program now by adding two Buttons (Java version of ActiveX Control) named Smily Face and Sad Face.

c)    If the user clicks the Smily Face the face will turn into a smiley face (as shown below) and if the sad Face is clicked it will draw a sad face.

1065_applet 1.png

  
Posted Date: 2/26/2013 3:08:45 AM | Location : United States







Related Discussions:- Applet draw a face , Assignment Help, Ask Question on Applet draw a face , Get Answer, Expert's Help, Applet draw a face Discussions

Write discussion on Applet draw a face
Your posts are moderated
Related Questions
State the significance of public, private, protected, default modifiers both singly and in combination and state the effect of package relationships on declared items qualified by

What is Overloading explain with an example? Overloading is while the similar method or operator can be used on several different kinds of data. For example the + sign is used


A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Write a bouncing ball video game. The game is similar to the one described and depicted in Figure of the text book. The balls bounces within the screen where the two horizontal wal

This assignment is about experimenting with the Java runtime system's garbage collection model, and comparing it with the C++ manual memory allocation model. Below is the Garbage J

Explain Animate gifs? We can save 16 gif images of the previous instance in a single file in the form of an animated gif, and then used it in a regular tag to display a movi

Here are some features of spring:- ? Lightweight: spring is lightweight when it comes to size and transparency. The essential version of spring framework is around 1MB. And t


How do you decide when to use HashMap and when to use TreeMap? When we want to perform deletion, insertion and locate elements in a Map then HashMap is used. Whereas TreeMa