Search:

Type: Posts; User: jps

Search: Search took 0.13 seconds.

  1. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    If I was to copy paste your code into my IDE, it would tell me I do not have the Plot and PlotFrame class.
    Therefore I can not run your code to produce the results you claim to get.
    Without running...
  2. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    Call it what ever you want to call it, the end result is it is the number of times the loop runs. All of the code in the body of the loop is executed. The setVisible statement was inside the loop...
  3. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    That was when the setVisible line was inside the loop.

    The real problem is the terminal freezing. Without seeing the missing code who can guess? Same goes for the frame going invisible over and...
  4. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    SSCCE in a nutshell just means provide something we can compile and run to see the problem.
    I can't get a frozen console window, or see the printlns, because there are missing class definitions. So...
  5. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    Running out of suggestions (or should I say guesses).
    Looks like it is time to post the SSCCE
  6. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    Nothing in the posted code suggests that would happen. I can only guess something in one of the missing classes is causing that to happen when adding a new point.
    Post a SSCCE, the posted code can...
  7. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    It may seem simple and unimportant from your seat, but from the chair where your screen is not visible, it is important to post the code any time any change is made to the syntax. "Always" post the...
  8. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    Always include the modified version of the code when changes are made.

    infinite loops do not end, that is what is so special about them. Again, post the code showing the changes so we can see what...
  9. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    There is only one loop in the posted code, use a println and test it
  10. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    It sounds like an infinite loop or the thread is blocked.

    This is where a debugger comes in handy, but it can still be done without one. Either way, you will just have to figure out where the...
  11. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    the posted code is not the problem

    Where is the Plot and PlotFrame class?

    It is much easier to assist with a SSCCE
  12. Replies
    62
    Views
    7,165

    Re: Writing Path name to configure Java

    Please post the modified version of the code any time you make changes
Results 1 to 12 of 12