1 Error, Pretty simple i think, I just cant get it!
Code:
public void objectsp()
{
try
{
int objectid = Integer.parseInt(JOptionPane.showInputDialog(this, "Enter the id of the object that you want to spawn.", "Enter Object ID.", 3));
if (objectid >= 7390) {
sendMessage("Invalid Object ID!");
} else
method130(404, -1, objectid, 0, 2, 52, 10, 0, 53, 0);
}
catch(Exception e)
{
sendMessage((new StringBuilder()).append("You must enter a numeric value!: ").append(e).toString());
}
}
Thats the coding were i'm getting the error, Also its in Client.java.
Code:
client.java:32: cannot find symbol
symbol : variable JOptionPane
location: class client
int objectid = Integer.parseInt(JOptionPane.showInputDialog(this, "Enter
the id of the object that you want to spawn.", "Enter Object ID.", 3));
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Please help me guys, thanks.