阅读背景:

单击按钮运行并暂停GUI后台线程

来源:互联网 

I need to run a background thread in my Java GUI that only runs when I click a button and pauses when I click that button again. I am not exactly sure how to set this up, but I have placed a thread in my constructor and the while loop within is set to go through when I set a specific boolean to TRUE. One button switches from setting this boolean TRUE or FALSE.I need to run a background thread in my Java GU




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: