Search:

Type: Posts; User: LoganC

Search: Search took 0.29 seconds.

  1. Replies
    12
    Views
    1,810

    Re: Errors with beginning jOptionPane code

    Thanks Norm.
  2. Replies
    12
    Views
    1,810

    Re: Errors with beginning jOptionPane code

    Any insight on going about fixing this? If statements make this hard.
  3. Replies
    12
    Views
    1,810

    Re: Errors with beginning jOptionPane code

    As far as scope, we haven't learned about that in class yet.
  4. Replies
    12
    Views
    1,810

    Re: Errors with beginning jOptionPane code

    Variables are defined below

    if (shapeNum == 1) {
    String whatBase = JOptionPane.showInputDialog("Triangle Base?");
    double triBase = Double.parseDouble(whatBase);
    ...
  5. Replies
    12
    Views
    1,810

    Re: Errors with beginning jOptionPane code

    The only error I am getting from compiler is
    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>
    at area.main(area.java:53)
    Java Result:...
  6. Replies
    12
    Views
    1,810

    Re: Errors with beginning jOptionPane code

    Getting cannot find symbol errors in main:

    areaTriangle (triHeight, triBase, triOutput, shapeNum);
    areaCircle (circOutput, circRadi, shapeNum);
    areaRectangle (rectOutput, lengthRect,...
  7. Replies
    12
    Views
    1,810

    Errors with beginning jOptionPane code

    My assignment is to use jOptionPane to rewrite a program that we made earlier, I am successful so far except for the lines 51-53. Those used to be error free but after rewriting main using...
Results 1 to 7 of 7