Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Re: just one more error that i cannot figure out please help me.

    Is that because you're confusing some variables. for example: using the one containing the match bonus instead of the one containing the time.
  2. Re: just one more error that i cannot figure out please help me.

    Read the Tutorial re buttons:
    How to Use Buttons, Check Boxes, and Radio Buttons (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
  3. Re: just one more error that i cannot figure out please help me.

    How are you doing this?
    How do you detect the button press?
    When/where do you record the starting time?
    Where do you compute the duration from the starting time?
    Where do you display that...
  4. Re: just one more error that i cannot figure out please help me.

    Does it work now? If not, please explain what it does or doesn't do.

    Try debugging your code by adding printlns statements to show the execution flow and where variables are changed.
  5. Re: just one more error that i cannot figure out please help me.

    Why did you pick a complicated one instead of a simple one? Where did you get the code about the property change? Too much IDE generated stuff that beginners don't know how to read and use.
    You...
  6. Re: just one more error that i cannot figure out please help me.

    Work on one small problem, solve it and then move on to the next one.
    Programming can be very tedious and requires a lot of attention to detail. Lots of details.
    Go slowly one step at a time until...
  7. Re: just one more error that i cannot figure out please help me.

    Have you read the API doc for the JTextArea class?
    What methods does it have that will change the contents of the JTextArea?
  8. Re: just one more error that i cannot figure out please help me.

    There's a problem with your code. When I run it I get:
    java.lang.NullPointerException
    at ExpApplet.<init>(ExpApplet.java:111)

    First get your code to execute w/o errors.

    Then fix the GUI so...
Results 1 to 8 of 8