Test the JAVA(tm) capabilities of your system
-1- See the output of the applet below
-2- See The code it runs
import java.applet.Applet;
import java.awt.Label;
public class AppletTest extends Applet
{
public void init ()
{
String Jav = "Java version : "+System.getProperty("java.version");
String OS = "OS : "+System.getProperty("os.name")+" v"+System.getProperty("os.version");
System.out.println(Jav);
System.out.println(OS);
setLayout(null);
Label Lab1 = new Label (Jav);
Lab1.reshape(0, 20, size().width, 30);
add (Lab1);
Label Lab2 = new Label (OS);
Lab2.reshape(0, 60, size().width, 30);
add (Lab2);
}
}