In more details, I have a loop that takes in mathematical operations and a switch case in which it translates those operations in order to apply addition or subtraction.. etc.
The loop (int i) is the number of operations it reads. The condition is also a part of the operations entered, it's also inside the switch case. So whenever the user enters that condition, and the number (for instance j) that the loop should repeat, the program should take in j and equalizes it with i but it freezes. I want it to branch to that part of the loop where the user defines to get the condition right.
the GUI freezes once the user hits a JButton so that operations written in TextArea are to be calculated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…