Java Tutorial

 
 
 
 
/* <applet code=\"showDemo\" height=300 width=300> </applet> */

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

public class showDemo extends Applet
{
     public void start() {
        AppletContext ac = getAppletContext();
        URL url = getCodeBase();

        try{
                ac.showDocument(new URL(url + \"Test.html\"));
        }catch(MalformedURLException e){
                showStatus(\"URL not Found \");
        }
    }
}

    Related Post:
  1. An applet program to display Horizontal Color Bar

  2. Develop a simple calculator with addition, subtraction, multiplication and division capabilities, data collection from client side, executed on server

  3. Add,delete,Update in LISTS

  4. An applet program to add two numbers where data is entered in TextField

  5. Program to append a StringBuffer by StringBuffer, String objects and other Basic Data Types

  6. Program of an applet to illustrate BarChart

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

  8. RMI based application, which reads a file with list of marks of student from a client, send it to server and find how many students having distinct

  9. An applet program that display blinking rectangle

  10. Program to change characters in a StringBuffer objects and to reverse its contents

  11. Program to print triangle of numbers

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

  13. Program that maintains employee database of an education system

  14. An applet program to perform merge sort

  15. Program to show the comparing of Strings for equality

  16. Program to determine the sum of the following harmonic series for a given value of n

  17. Program to search an element in an array using Linear Search

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

  19. Corba program of date operations

  20. Program in CORBA which takes a long sentence from the client (at least 7 words), passes to the server, server separates out each word

 
 
Didn't find what you were looking for? Find more on An applet program of showing new document using showDocument(URL) method