Exception in thread "main" java.lang.NumberFormatException: For input string: "S"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at...
Type: Posts; User: dande
Exception in thread "main" java.lang.NumberFormatException: For input string: "S"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at...
No I am still working on it ..Thank you ..
It is wanting me to make the variables data type =string. so I have to convert to int.. this is quite difficult...
public final static double radius...
Thank you so much, I am going to take a break and look at this and see what I can come up with.
--- Update ---
import java.lang.String.*; // For toUpperCase()
import...
import java.util.*; // For Scanner
import java.lang.String.*; // For toUpperCase()
import javax.swing.JOptionPane; // for cute lil java windows
public class CaculateAreaOpt {
// Declare all...
It stops when the user enters the choice "c" "r" or "s"
I put the JOptionPane on the error statement at the end.. still its stopping and not coming up with any kind of an error
--- Update ---
...
when i use the println() it works perfectly but I am supposed to use the JOptionPane
It works to the point that the user inputs "c" "s" or "r" then it does nothing else ? I can get it to run in my terminal window but when I try to get the JoptionPane windows to work it freezes up.
...