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. Program to read the ballots and count the votes cast for each candidate using an array variable count

  2. Program to show an example of Arrays of String

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

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

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

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

  7. Program to Display Output in triangular shape

  8. Program to declare, initialize and print a String object

  9. Program to display reverse $ tree

  10. An applet program showing Clicked Event on canvas

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

  12. File Handling- JAVA

  13. Program of Floyds Triangle

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

  15. Program to show the use of operator (&gt;&gt;) Shift Right, propagating the sign bit from the left

  16. Program to calculate the frequency for different values of C starting from 0.01 to 0.1 in steps of 0.01

  17. An applet program of passing parameters

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

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

  20. An applet program to draw Polygon Graph with given data

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