The error is
It is telling me it "cannot find symbol"
symbol : method ShowInputDialog(<nulltype>,java.lang.String)
location: class javax.swing.JOptionPane
JOptionPane.ShowInputDialog(null,"Enter Package letter: A, B, or C.");
^
1 error
The original code i wrote it in is:
// Get one of the package names from the user
JOptionPane.ShowInputDialog(null,"Enter Package letter: A, B, or C.");
input = keyboard.nextLine();
letter = input.charAt(0);
can anyone help here, i cant seem to find out the problem.
It is telling me it "cannot find symbol"
symbol : method ShowInputDialog(<nulltype>,java.lang.String)
location: class javax.swing.JOptionPane
JOptionPane.ShowInputDialog(null,"Enter Package letter: A, B, or C.");
^
1 error
The original code i wrote it in is:
// Get one of the package names from the user
JOptionPane.ShowInputDialog(null,"Enter Package letter: A, B, or C.");
input = keyboard.nextLine();
letter = input.charAt(0);
can anyone help here, i cant seem to find out the problem.