Java Tutorial

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 show the use of some Math Methods

  2. Program to show the comparing of Strings for equality

  3. Program that takes a long sentence and a character from the client and count the occurrence of the character in the sentence at the server side

  4. Socket program of HTTP Server

  5. Program to make directory

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

  7. Program to show the use of Conditional AND Operator (&&) in If Statements

  8. Biological Sequence Allignment Using Dynamic Programing

  9. Program to show the use of Comparison operator (==) for comparing Strings

  10. 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

  11. 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

  12. Program to show the use of Conditional (Ternary) Operator

  13. Program to show an example of creating a String object from a StringBuffer Object

  14. Program to show the use of Break Statement

  15. Corba program to encrypt the text that you want to send on the client side. The server side decrypts it after receiving. Append server time.

  16. Word list program that reads a text file and makes an alphabetical list of all the words in that file. The list of words is output to another file

  17. Program to declare and initialize Integer variables and print them on the Standard Output Device

  18. An applet program to display Vertical Color Bar

  19. Program that will count the number of lines in each file that is specified on the command line

  20. Program to show the use of Increment and Decrement Operators

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