Java Tutorial

import java.awt.*;
import java.applet.*;

public class DynamicString extends Applet
        String str;
        public void init()
            if (str==null)
            str=\"Hello\" + str;

        public void paint(Graphics g)

    Related Post:
  1. Program to declare, initialize and print an array of integers

  2. Program to show an example of using user-defined package in a program

  3. Program of UDP news server

  4. Write a class whose objects holds a current value and have a method to add that value, printing the new value

  5. Program to compute the sum of the digits of a given integer number. eg: I/o=4 then O/p=4+3+2+1=10

  6. Develop a game application in CORBA for which the player will guess a number between 1 to 100, which will be compared to the random number generated b


  8. Program that enabled applet that takes name of the user. Server returns back the number in uppercase clubbed with “HELLO” and display it on applet

  9. Program of inventory management and demonstrating interactive input and output

  10. Program to show an example of modifying String objects

  11. Program of an applet to display alternate filled and empty circle

  12. An applet program to display sum of two number of textField

  13. Program to perform Merge Sort

  14. Do the following for the Array Insert the element in the array,delete an element from the array,search for a particular element Create multiple thread

  15. Program to show an example of searching Strings for subStrings

  16. Corba program of UDP client server application which sends the news to the client. Server takes the news from the NewsDataFile located at the server

  17. Program to show the use of Logical OR Operator (|) in If Statements

  18. Program, which creates a three thread. One thread display the numbers from 1 to 5, second thread display the square root of that number etc

  19. Program to show the use of Logical or Boolean Negation i.e. NOT (!)

  20. An applet program to draw circle in center of the canvas

Didn't find what you were looking for? Find more on An applet program that creates string dynamically and displays it