Re: [java-gnome-hackers] Java-Gnome thread model?
Brought to you by:
afcowie
From: Tom B. <Tom...@Su...> - 2003-02-20 19:46:03
|
An alternative to a timer thread is to use gtk_timeout_add(), which isn't one of the calls we support. Is it okay if I just add that support, or do I need to regenerate the file somehow? Tom On Thu, 2003-02-20 at 11:28, Tom Ball wrote: > Hi all, > > What's the thread model for Java-GNOME development? Swing requires that > all GUI updating happen on the event dispatch thread, while the AWT > pretends it's fully multithreaded. I haven't found any documentation > suggesting threading rules for Java-GNOME, but there also isn't much > synchronization effort either. > > What's prompting this question is that I'm writing a GUI front-end for > Sun's VPN client using Java-GNOME, which will have a status window (a > GtkTextView) updated by a timer. Since I couldn't find any timers in > Java-GNOME, I'm writing a simple one that just loops in a separate > thread. Can this thread directly set the TextBuffer's text, or should > it conj an event to do it on the main thread? > > Tom > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers -- Tom Ball <Tom...@Su...> |