Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Read the tutorial I posted in post#24
    Or remove the implements ActionListener phrase from the class definition


    The compile is telling you to insert a } at line 44


    Either change the...
  2. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    See the tutorial on how to write a listener:
    How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners)

    You need to fix all the compiler...
  3. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Did you check that all the {}s were matched?

    What errors are you getting now?


    Don't worry about the inside of the method for now. Just write the first line and the last line to define the...
  4. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Did you check that the {}s are properly paired?

    In the posted code: Where is line 183? I don't see any comments like: //******* THIS IS LINE 183 <<<<<<<<<<<<



    Write a definition for the...
  5. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Did you check that all the {}s were properly paired?

    The code you just posted doesn't show which line is line 183.
    I expected to see:
    some lines
    line 183 <<<<<<<<<< in the middle
    some lines
  6. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    What are the lines before line 183?

    Check that all the {}s are properly paired: Each { needs a }
  7. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Can you post the lines of code around line 183 and put a comment on line 183 to identify it.
  8. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    You need to resolve the existing compiler errors before adding any more code.

    Can only one of the if statements in the list of if statements be true at a time?
    If so, you should use if/else if...
  9. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Did you make the fixes I described in post#8? There were a lot of things that needed to be defined in the code.


    Have you tried my suggestion of deleting most of the statements and starting...
  10. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    These errors are because the compiler can not find the definition for the variable. Make sure you have defined the variable whose name is in the error message.

    The compiler can not find the...
  11. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Can you post your current code. The code in post#1 is full of compiler errors.

    If you need help with any of the compiler errors, copy the full text of the error messages and paste them here.
  12. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Please explain about the errors.
  13. Replies
    25
    Views
    2,790

    Re: Java Jeopardy Game, Please Help

    Please edit your post and wrap your code with


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.

    Where does your code use any layout manager?
Results 1 to 13 of 13