Hi All,

 

I have a treeview inside a scrollpane. In a button pressed event, I call
a method to do some data processing that takes between 2 to 5 seconds
for each branch and then add tree nodes to that branch and set new icon,
repaint the treeview. I have tried repaint() method on the treeview and
scrollpane after processing each branch but the treeview doesn't get
repainted until the method/event finished. How can I repaint the
treeview?

 

Thanks,

 

Yunlong Zhao

 

Reply via email to