I have an app which has a status label which i update when doing fetching and updating!! the problem is that my label doesnt get updated until after all the work is done!! this is because of the way the awt dispathcher thread handles events(i.e it doesnt let go of one until it is finished and then moves on to the next one)!
so my code would look like this
Retrieve Data + do some processing
now all the user sees is the Data Retrieved message, the Retrieving Data one does not get shown!! now i have a sneaky suspicion that what happens is that setText generates another awt dispatch event and this gets put on the queue behind the current event and doesnt get updated until the event has finished and thus the last one gets shown. i know i can run off my processing in another thread and that way my label will get updated but this means alot of changes around the code to show my label updating!! is there anyway i can get my setText to update straight away without having to do this???