title: How to jdialog to jpanel thread process
body: <p>I have a question. I couldn't solve it for 4 days. I'm making a stopwatch using gui swing in Java. There are 1 jframe and 1 jdialog. I used threads in Jframe. It has a start stop and reset button, it works very well. The problem is; I had to use the jdialog like this (this is the job situation) so when I press the start stop and reset button that I created in jdialog, it triggers the start, stop and reset button in the jframe. There is no problem with triggering either. The main problem is this: While the thread works as it should in the jframe, it does not work when I call it from jdialog. I searched a lot, I made a logic, but I couldn't find it, can anyone help?</p>