Search:

Type: Posts; User: JavaPF

Search: Search took 0.10 seconds.

  1. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    Brilliant. I am glad you found another solution.
  2. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    Hey Jchang504,

    Did you manage to incorporate the new code OK?
  3. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    I think you would need to incorporate most of that code. See what you can do and post your updated code if you get stuck..
  4. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    I have put this quick example together. It will randomly grab a line from your wordlist and print to the console.



    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import...
  5. Re: [SOLVED] Looping program gets stuck and doesn't reset variable

    So you just want to get a line randomly from the text file? What is this for?
  6. Re: Looping program gets "stuck" and doesn't reset variable

    You do not have to put anything in the catch block if you don't want to. This will not effect the running of the application. Like you say, the System.out.println(e); is so the programmer can see a...
  7. Re: Looping program gets "stuck" and doesn't reset variable

    try/catch blocks are for catching errors. Some java classes require you to catch the errors before you can sussesfully compile the code. This is also known as error handling.

    Everything you need...
  8. Re: Looping program gets "stuck" and doesn't reset variable

    Hello,

    I have fixed the problem. The program seems to be working as expected now after I made some changes.

    You can see the changes I made in bold. Please give this code a try and let me know...
  9. Re: Looping program gets "stuck" and doesn't reset variable

    Hello Jchang504.

    Thank you, I fully understand this application now. I will take a look at it as soon as possible and try to offer a solution.
  10. Re: Looping program gets "stuck" and doesn't reset variable

    I made my own TWL_Dic_3.txt file with only 5, 3 letter words in it but it is giving me combinations which are not in the list.

    I can see the application generating combinations, so why is the word...
  11. Re: Looping program gets "stuck" and doesn't reset variable

    Hey Jchang504.

    I have downloaded the wordlist and compiled the program.

    It all seems to be working fine for me. I am a bit unsure as to what the problem is?

    Could you please give me an...
  12. Re: Looping program gets "stuck" and doesn't reset variable

    Hey Jchang504,

    I compiled and run the above code which generates a popup box, but as soon as I click Continue, it falls over and dies :(

    Exception in thread "main"...
Results 1 to 12 of 12