public class wenben extends JFrame{
/**
*
*/
private static final long serialVersionUID = 1L;
static float a = 0;
static float b = 1;
static String c = "";
static String d = "";
static String f = "";
public wenben(){
jb.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent arg0) {
c = one.getText();
d = two.getText();
Integer a = new Integer(c);
Integer b = new Integer(d);
float e = a * a * 70 / b;
f = String.valueOf(e);
thr.setText(f);
thr.requestFocus();
if(e > 9000) {
zuozhe.setText("魔力太多啦,彼方兰弱小的身躯承受不住:(");