Search:

Type: Posts; User: Hagstrom505

Search: Search took 0.12 seconds.

  1. Re: Counter behaving oddly, skipping large blocks of code& error message

    Ah.

    I do get what you're saying, and I agree that it would help, I'm just under a bit of a time constraint for this one. I need to have it completed by Thursday, and at this point, I'm just trying...
  2. Re: Counter behaving oddly, skipping large blocks of code& error message

    Ok, I converted it into something a little more manageable in the ide, and this is the error I get:

    Jan 28, 2013 7:53:36 PM org.jdesktop.application.Application$1 run
    SEVERE: Application class...
  3. Re: Counter behaving oddly, skipping large blocks of code& error message

    It's not, now that I've stripped it down. I am honestly trying, I don't know why this keeps happening.
  4. Re: Counter behaving oddly, skipping large blocks of code& error message

    Alright, that's fair.

    I'm going to trim it down to one button, the variables, and one section of the physical quiz. It comes in at around 145 lines, is that alright?


    Integer[]...
  5. Re: Counter behaving oddly, skipping large blocks of code& error message

    I'm sorry about all of that. However, mistakes happen, it was posted as a rush job sort of thing, and ignoring the dropped }, it runs fine when I execute it. All the generated code and extra methods...
  6. Re: Counter behaving oddly, skipping large blocks of code& error message

    *
    * SSCCEOfProblemView.java
    */

    package sscceofproblem;

    import org.jdesktop.application.Action;
    import org.jdesktop.application.ResourceMap;
    import...
  7. Re: Counter behaving oddly, skipping large blocks of code& error message

    Alright, how should I attach it?
  8. Re: Counter behaving oddly, skipping large blocks of code& error message

    I'm having a little trouble setting the SSCE up... Sorry.

    The offending code is as shown, I just copypasted it into the answer buttons, but the only other part of the code I think is missing are...
  9. Re: Counter behaving oddly, skipping large blocks of code& error message

    Um, bump?
  10. Re: Counter behaving oddly, skipping large blocks of code& error message

    AWT GUI. Input comes from buttons that when pressed, trigger a method which returns a numerical value that represents their answer. It also is the one responsible for cycling the questions.

    Should...
  11. Re: Counter behaving oddly, skipping large blocks of code& error message

    I think I've found something that might help. My code now looks like


    txta_display.setText("Press an answer button to begin");
    if (totalquestions==4){

    txta_display.setText("What is...
  12. Re: Counter behaving oddly, skipping large blocks of code& error message

    Ok, partially fixed that. It doesn't return the error message.

    However, it stays on the first display, rather than changing what's in the text area. The counter for totalquestions has a sudden...
  13. Counter behaving oddly, skipping large blocks of code& error message

    buttonPressA();
    buttonPressB();
    buttonPressC();
    buttonPressD();
    totalquestions=-1;//Don't ask why, it just works.
    answer=solutions[0];//Counter iterates once inexpicably,...
Results 1 to 13 of 13