I want to append text in loop with swingworkerclass in java. for ex :
while(true)
{
mytextarea.append("sometext");
if(some_condition)
{break;}
}
I want this with swingworker because I want to see every uptade on textarea.
For this code I only see update when my proccess done.
I dont want swingworker samples for another situations.
Please give me some code here.Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…