Re: [Java-gnome-developer] broken link
Brought to you by:
afcowie
From: Phil R. <pr...@ab...> - 2005-01-10 21:05:28
|
Even in normal Swing apps all gui modifications must be done from inside the Swing thread (Swing is not thread safe as far as I can tell) using the |javax.swing.SwingUtilities.invokeLater(Runnable r)| method, otherwise weird things start to happen. In the same way |org.gnu.glib.CustomEvents.addEvent(Runnable r)| should be used when modifying the GUI in Gtk/Gnome applications. I haven't tried not using this method, but I assume strange things may also happen. My question is why do people not want to design GUIs to be thread safe??? Phil Joao Victor wrote: >Seems like it's fixed... > >But, BTW, to write a multithread app shouldn't you just use java.lang.Thread, like you do with any >Java app? > >Cheers, >J.V. > > > --- Khiraly <khi...@gm...> escreveu: > > >>Hi! >> >>In the ,,Writing multithreaded applications'' section on the webseite, >>this link does not work: >> >>http://java-gnome.sourceforge.net/docs/javadoc/index.html >> >>Plese correct it. >> >>-- >>Khiraly <khi...@gm...> >> >> > > > > > > >_______________________________________________________ >Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >java-gnome-developer mailing list >jav...@li... >https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > |