oracle.com isnt being of any help to me at this point. heres my error
client.java:18: cannot find symbol symbol : variable frame location: class client JOptionPane.showMessageDialog(frame, "testing", "testing"); ^ 1 error Finished! Press any key to continue . . .
heres my code
import java.lang.Object.*; import javax.swing.*; public class client { public static int message = 0; public static int random(int range) { return (int) (Math.random() * (range + 1)); } public static void main(String[] args) { Message(); JOptionPane.showMessageDialog(frame, "testing", "testing"); } public static void Message() { message = random(4); if (message == 0) { System.out.println(""); } else if (message == 1) { System.out.println(""); } else if (message == 2) { System.out.println(""); } else if (message == 3) { System.out.println(""); } else if (message == 4) { System.out.println(""); } } }