Hello everyone,
I have a code bit where the program takes ages to complete for some reason and i have a quad processor.
The code is below; "allPossibleCombinationsOutput" is a String and maxBuffer is an int but when i get it above 1500, the program responds after 10secs of lockup and i need the number to be above 200000. What can i do? Thanks for your time.
for (int y = 0; y < maxBuffer; y++) { allPossibleCombinationsOutput += "" + (y + 1); for (int x = 1; x < 7; x++) { allPossibleCombinationsOutput += "\t" + allPossibleGuesses[y][x]; } allPossibleCombinationsOutput += "\n"; } jTextPane3.setText(allPossibleCombinationsOutput);