Swing Multithreading. My GUI is freezing

前端 未结 4 1607
孤城傲影
孤城傲影 2021-01-28 05:41

Disclaimer: I\'m not using my program for anything malicious, even though it\'s name is Spambot. I\'m only using it for practice.

Edit: My problem is th

4条回答
  •  失恋的感觉
    2021-01-28 06:20

    You are not using any threading instead you just using a Thread.sleep() method. Its just a normal program with sleep. So your GUI will be blocked until your operation completes in start1 and start2.

提交回复
热议问题