ok, so heres what i have...

Code:
Comparable nodeInput = JOptionPane.showInputDialog(null);
i just need to know what line of code i would need to use if i wanted to parse that to an integer...

i have tried the following...

Code:
tree.insert(new Integer(Integer.parseInt(nodeInput)));
the error i get is that my IDE says that the symbol method parseInt could not be found...

thanks for any help in advance.