Time consuming work should not be done on the EDT; look into SwingWorker. With kind regards Ben
On 9 Feb., 21:15, Eric <[email protected]> wrote: > Odd that a request on Google Groups about which group to try for help > with Java got several responses all pointing to other websites. > In the lag time between making this post here and having it appear on > this group thread list I did find a Java group called > comp.lang.java.help. > I didn't exactly find the solution but I did figure out the problem. > I'm trying to execute some code in a Java event listener action method > which takes some time. > At the start of that method I want to show something on the screen to > let the user know it's processing. > At the end of the method I want it to show their new screen that > processing just generated. > The display from the start of the method never appears. Apparently > Java won't update gui while it's processing. > It appears to be a threading issue. > > On Feb 9, 10:40 am, Casper Bang <[email protected]> wrote: > > > > Is this a good group for a programming question, or can anyone point > > > me to one? > > > Nope this is more of a meta group, revolving around the JavaPosse GoF. > > Oracle have stirred the pot of established forums, but I do believe > > this is your best bet:http://forums.oracle.com/forums/forum.jspa?forumID=950 -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
