有高手吗,帮我解决一下这个问题好吗
package untitled1;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import borland.jbcl.layout.*;
//import com.sun.java.swing.UIManager;
public class Applet1 extends Applet {
boolean isStandalone = false;
GridBagLayout gridBagLayout1 = new GridBagLayout();
GridBagConstraints con=new GridBagConstraints();
XYLayout xYLayout1 = new XYLayout();
TextField textField1 = new TextField();
Label label1 = new Label();
public Applet1() {
}
public void init() {
try {
jbInit();
}
catch (Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
textField1.setText("textField1");
label1.setText("label1");
this.setLayout(xYLayout1);
con.weightx=1;
con.weighty=2;
this.add(textField1, new XYConstraints(193, 56, -1, -1));
this.add(label1, new XYConstraints(55, 56, -1, -1));
}
public String getAppletInfo() {
return "Applet Information";
}
public String[][] getParameterInfo() {
return null;
}
}
帮我运行一下,为什么在浏览器中无法运行啊,解决这个问题好没