JOptionPane.showMessageDialog("Employee Id Is "+
empid , "\nEmploye Name is " + employeename ,
"\nFather Name is " + fathername ,
"\nJob Catagory is " + jobcatagory,
"\nAge is " + age,
"\nEducation is " + education,
"\nPay Scale is " + payscal,
"\nNIC is " + NIC );
收到此错误
no suitable method found for showMessageDialog(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
method javax.swing.JOptionPane.showMessageDialog(java.awt.Component,java.lang.Object,java.lang.String,int,javax.swing.Icon) is not applicable
(actual and formal argument lists differ in length)
method javax.swing.JOptionPane.showMessageDialog(java.awt.Component,java.lang.Object,java.lang.String,int) is not applicable
(actual and formal argument lists differ in length)
method javax.swing.JOptionPane.showMessageDialog(java.awt.Component,java.lang.Object) is not applicable
(actual and formal argument lists differ in length)