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.
...
As an aspiring Application Developer in my final two semesters ( associates degree.) I have urged other classmates to go the distance and purchase a webhost and start working on it as to not loose...
~o) Cup of Java for your kindness.. I will better title my threads :-)
Thank you so much, I guess a little more attention paid on my part would have solved the issue. Almost every example in our book has the int data declaration so its kinda confusing.. Thank you so...
First Thank you in Advance just for having a place for programmers to talk to each other..
As I said in my title, I am new to java. 3rd week in class..
I have an issue with my if statement...