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. Pass the marks of 10 students from the client side design a servlet, which takes these marks and returns the number of students who obtained first cls

  2. Program to show an example of Calling a Base Class Method from a Derived Class

  3. Program that will read real number from the keyboard and print the following output in one line: small Integer not less The Given Number Largest Int

  4. GUI application in java, which enter the details of a student and on the submit display the details of the student

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

  6. Program to read command line arguments

  7. Given a list of marks ranging form 0 to 100, write a program to compute and print the number of students marks

  8. Socket program of multi client chat server

  9. Program to show the use of Labeled Break Statement

  10. Program to show the comparing of Strings for equality

  11. Program to extract a portion of a character string and print the extracted string

  12. An applet program that creates string dynamically and displays it

  13. Program to show an example of extracting subStrings from a String

  14. program which takes a long sentence from the client passes to the server,server separates out each word and sends them back to client in reverse order

  15. Program to show some properties of StringBuffer object

  16. Program to evaluate following investment equation V=P(1+R)^N

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

  18. Program to show the use of If-Else Statement

  19. Program which creates an Array of character. Make one function with one argument as a character and that function throw a user defined exception

  20. Program to read rollno, marks of sub1,sub2 and sub3 and on basis of that display result

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