I have created a JFrame here and you will also see JPanel and JLabel. I have also added two JButton "Pause" and "Resume" over there.
What I am trying to do is to pause and resume a child thread using JButtons, the program is running fine without any warning or errors, however, child thread is not pausing. The functions executes but it is not pausing the thread.
I have attached two text files. All the functions are executing in "Main.java" file and "child thread" code is written child_1.java.
Looking for quick help !!