Professional Documents
Culture Documents
HOME WORK: #4
Q1. Design an applet that sequentially depicts the life-cycle of an applet and thus
shows the corresponding message on every stage.
Q2. Write a java program to read the contents of a file line by line and then write into
another file character by character.
Q3. Create an applet that supports movement of any geometric shape throughout the
applet. Make use of threads to accomplish the task.
Q4. Make an applet that depicts a calculator. Now design a GUI program such that
whenever user enters the values in input boxes, the result is shown in different
output box.
Q5. Create an applet in which whenever you enter your name, it is reflected multiple
times, in different colors and in different font sizes.