Java Blog

 
 
 
import java.awt.Graphics;
import java.applet.Applet;


public class MyFirstApplet extends Applet
{
    public void paint(Graphics g)
        {
              g.drawString(\"My applet\",400,200);
        }
}

    Related Post:
  1. Program to display following things on the client machine a)date and time of the server machine b)date and time of the client machine and difference

  2. File handling program to copy bytes from one file to another

  3. Program to show an example of extraction of characters from a StringBuffer objects

  4. Program to show an example of using initialization block to initialize the data members of a class

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

  6. Program sets up a String variable containing a paragraph of text of your choice. Extract the words from the text and sort them into alphabetical order

  7. Program to show the use of Switch Statement for the same statement for several different case labels

  8. CORBA based application for addition of two mathematical expressions of the form (ax + by) and displaying the result on client side

  9. Program to Concat Strings

  10. Corba program of game

  11. CORBA PROGRAM TO GET THE HTML CODE FROM ANY URL

  12. Program to show insertion of StringBuffer, String objects and other Basic Data Types into a StringBuffer object

  13. Program to show the use of If Statement

  14. Program to show the use of Bitwise Operator (~) Complement

  15. An applet program to perform merge sort

  16. Define an array of ten String elements each containing an arbitrary string of the form “month/day/year”

  17. Program to show an example of using a Static Nested Class

  18. Program of writing Bytes to a File

  19. Program to show the use of the Continue Statement

  20. An applet program to display Horizontal Color Bar

 
 
Didn't find what you were looking for? Find more on An applet program to display text