From: Rib R. <ri...@gm...> - 2005-05-13 17:25:18
|
Sounds good to me. On 5/13/05, Joe Emenaker <jo...@em...> wrote: > As it is now, SysexGetDialog executes a Driver's sendPatchRequest method > from the actionPerformed method in its actionListener. This means that > the Driver's sendPatchRequest runs in the GUI event thread. >=20 > What *that* means is: sendPatchRequest takes a long time (like, with > getting an entire Bank), the entire GUI of JSL freezes.... which defeats > the point of having a progress-bar (which I was working on) and also > defeats the purpose of having regularly-updated "XXX bytes received" > counts in the dialog box. >=20 > On my machine, I just experimented with having SysexGetDialog start a > separate thread to call sendPatchRequest, and it worked like a charm. > GUI updates happen during lengthy (as in... a 60 seconds...) patch dump > requests. >=20 > Does anybody have any objections to my committing this to CVS? >=20 > - Joe >=20 >=20 > |