Re: [Java-gnome-developer] updating GNomeAppBar.progressbar while running a long process.
Brought to you by:
afcowie
From: Joao V. <jvi...@ya...> - 2005-04-18 12:09:27
|
There seems to be a little problem when using progressbars. Is Manuel Ledesma == Lamex? Because Lamex was reporting something like this on irc this week. It _seems_ the problem happens when you use CustomEvents to create the thread that will update the progressbar. So yeah, not exactly a progressbar-problem, but a CustomEvents-problem. It seems Jeff is planning to rewrite the CustomEvents, or something like that. Apparently, the progressbar works fine when you use a Timer to update the progressbar. Maybe you could use that, Manuel, while we fix the CustomEvents (if that's what you're using). The way to use it is to store in some Class field the current progressbar fraction; and on every timeout of the Timer you update the progressbar with the current fraction. Hmmm we need a tutorial on this... well, if you didn't understand i could write some example code for you. So let us know if you can't fix the problem. Cheers, J.V. --- Andrew Cowie <an...@op...> wrote: > On Sun, 2005-17-04 at 11:18 -0400, Manuel Ledesma wrote: > > I can not download your code. > > I just tested the commands listed there, and they appeared to work fine. > Andrew Overholt at Red Hat ran the instructions last week and they > worked. What seems to be the problem, precisely? > > > Could you send the a tar/zip ? > > Preparing and posting such is the task I might do in the next week or so > that I referred to ... but the arch commands should work fine. > > [Yes, tla Arch is a bit silly, and I've switched away from it to Darcs] > > AfC > San Francisco Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |