import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class AppAppletInOut extends Applet implements Actionlistener{
public static void main(string args[]){
Frame frame=new Frame=();
AppAppletInOut app=new AppAppletInOut=();
app.init();
frame.add(app) ;
frame.setsize(400,100);
frame.show();
}
TextField in=new TextField(6);
Button btn=new Button("??");
Label out=new Label(" ");
public void init(){
setLayout(new floatLayout());
add(in) ;
add(btn);
add(out);
btn.addActionListener(this);
}
public void actionperformed(ActionEven e){
String s=in.getText();
double d=Double.parseDouble(s);
double q=d*d*d;
out.setText(d+"µÄÁ¢·½ÊÇ"+q);
}
}
各位帮我看一下,这段代码有什么问题