这个哪里错了?
//计算3个整数的乘积import javax.swing.JOptionPane;
public class mul3{
public void main(String args[])
{ String firstNumber;
String secondNumber;
String thirdNumber;
int number1;
int number2;
int number3;
int result;
firstNumber = JOptionPane.showInputDialog("输入第一个整数");
secondNumber = JOptionPane.showInputDialog("输入第二个整数");
thirdNumber = JOptionPane.showInputDialog("输入第三个整数");
number1 = Integer.parseInt(firstNumber);
number2 = Integer.parseInt(secondNumber);
number3 = Integer.parseInt(thirdNumber);
result = number1*number2*number3;
JOptionPane.showMessgeDialog(null,"结果是" + result,"求3个整数的乘积",
JOptionPane.PLAIN_MESSAGE);
}
} //编译倒数第3行出错