Java Plug-in 10.51.2.13
Using JRE version 1.7.0_51-b13 Java HotSpot(TM) Client VM
User home directory = C:\Users\ALPHASOFT
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


this is the error details that appear when i try to run an JApplet in browser(mozila)
I have activated Java in firefox,
but when i try to run my JApplet code it doesnt run & generates Error.
Kindly tell me whats Wrong.


following is my .java file----->

package alpha.GUI;

import javax.swing.JApplet;

public class JApp extends JApplet {
private JTextField textField;
private JTextField textField_1;
private JTextField textField_2;
private JTextField textField_3;
private JTextField textField_4;
private JTextField textField_5;
private JTextField textField_6;
private JTextField textField_7;
private JTextField textField_8;
private JTextField textField_9;

/**
* Create the applet.
*/
public JApp() {

getContentPane().setLayout(new FormLayout(new ColumnSpec[] {
FormFactory.RELATED_GAP_COLSPEC,
FormFactory.DEFAULT_COLSPEC,
FormFactory.RELATED_GAP_COLSPEC,
FormFactory.DEFAULT_COLSPEC,
FormFactory.RELATED_GAP_COLSPEC,
ColumnSpec.decode("default:grow"),},
new RowSpec[] {
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,
FormFactory.RELATED_GAP_ROWSPEC,
FormFactory.DEFAULT_ROWSPEC,}));

JLabel lblNewLabel = new JLabel("Name");
getContentPane().add(lblNewLabel, "2, 2");

textField = new JTextField();
getContentPane().add(textField, "6, 2, left, default");
textField.setColumns(10);

JLabel lblNewLabel_1 = new JLabel("Surname");
getContentPane().add(lblNewLabel_1, "2, 4");

textField_1 = new JTextField();
getContentPane().add(textField_1, "6, 4, left, default");
textField_1.setColumns(10);

JLabel lblNewLabel_2 = new JLabel("Username");
getContentPane().add(lblNewLabel_2, "2, 6");

textField_2 = new JTextField();
getContentPane().add(textField_2, "6, 6, left, default");
textField_2.setColumns(10);

JLabel lblNewLabel_3 = new JLabel("EmailID");
getContentPane().add(lblNewLabel_3, "2, 8");

textField_3 = new JTextField();
getContentPane().add(textField_3, "6, 8, left, default");
textField_3.setColumns(10);

JLabel lblNewLabel_4 = new JLabel("Date Of Birth");
getContentPane().add(lblNewLabel_4, "2, 10");

textField_4 = new JTextField();
getContentPane().add(textField_4, "6, 10, left, default");
textField_4.setColumns(10);

JLabel lblNewLabel_5 = new JLabel("New label");
getContentPane().add(lblNewLabel_5, "2, 12");

textField_5 = new JTextField();
getContentPane().add(textField_5, "6, 12, left, default");
textField_5.setColumns(10);

JLabel lblNewLabel_6 = new JLabel("New label");
getContentPane().add(lblNewLabel_6, "2, 14");

textField_6 = new JTextField();
getContentPane().add(textField_6, "6, 14, left, default");
textField_6.setColumns(10);

JLabel lblNewLabel_7 = new JLabel("New label");
getContentPane().add(lblNewLabel_7, "2, 16");

textField_7 = new JTextField();
getContentPane().add(textField_7, "6, 16, left, default");
textField_7.setColumns(10);

JLabel lblNewLabel_8 = new JLabel("New label");
getContentPane().add(lblNewLabel_8, "2, 20");

textField_8 = new JTextField();
getContentPane().add(textField_8, "6, 20, left, default");
textField_8.setColumns(10);

JLabel lblNewLabel_9 = new JLabel("New label");
getContentPane().add(lblNewLabel_9, "2, 22");

textField_9 = new JTextField();
getContentPane().add(textField_9, "6, 22, left, default");
textField_9.setColumns(10);

}

}


following is .html file---->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Another Applet</title>
</head>
<body>
<p>
<applet code="JApp.class" width=750 height=750>
</applet>
</body>
</html>