Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4766
| From | simplicity <stella_pigeon@live.ca> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: How to force the timer to start |
| Date | 2011-11-25 15:14 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <d8188cdb-7151-402b-9787-22ca683ffbce@k5g2000pre.googlegroups.com> (permalink) |
| References | <3be9f413-0634-4b56-8e24-8d85dd121793@d5g2000prf.googlegroups.com> <lqisc75kicjrmeob07sgltteoqh3hu0sqb@4ax.com> <7db36a79-0a48-47f4-bb85-a4a88633c4b8@h30g2000pro.googlegroups.com> <h9ltc7t57qcsba87rdo434ifrbmr39e51e@4ax.com> |
On Nov 24, 4:42 pm, Roedy Green <see_webs...@mindprod.com.invalid> wrote: > On Thu, 24 Nov 2011 11:02:58 -0800 (PST), simplicity > <stella_pig...@live.ca> wrote, quoted or indirectly quoted someone who > said : > > >It looks like it is a C side which is stuck > > Did you tie up the EDT thread in JNI code? If so, nothing gui-wise is > going to happen while it is in C. You must spawn a new thread to do > the C stuff. > > Seehttp://mindprod.com/jgloss/thread.html > > The usual way to make this blunder is to fire off some JNI code in an > ActionListener.actionPerformed without forking off a new thread. > > -- > Roedy Green Canadian Mind Productshttp://mindprod.com > I can't come to bed just yet. Somebody is wrong on the Internet. I did try to run C stuff in a dedicated thread. No effect. I see a bit of improvement when I force the mouse movement with Robot r = new Robot(); r.mouseMove(100, 100); but I am laughing at myself when I look at this code. There must be a better solution then this ugly kludge.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
How to force the timer to start simplicity <stella_pigeon@live.ca> - 2011-11-23 18:25 -0800
Re: How to force the timer to start Roedy Green <see_website@mindprod.com.invalid> - 2011-11-24 05:51 -0800
Re: How to force the timer to start simplicity <stella_pigeon@live.ca> - 2011-11-24 11:02 -0800
Re: How to force the timer to start Roedy Green <see_website@mindprod.com.invalid> - 2011-11-24 15:42 -0800
Re: How to force the timer to start simplicity <stella_pigeon@live.ca> - 2011-11-25 15:14 -0800
Re: How to force the timer to start Roedy Green <see_website@mindprod.com.invalid> - 2011-11-26 09:59 -0800
Re: How to force the timer to start Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-11-26 15:45 -0800
Re: How to force the timer to start simplicity <stella_pigeon@live.ca> - 2011-11-29 13:25 -0800
Re: How to force the timer to start Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-11-29 15:46 -0800
Re: How to force the timer to start Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-11-30 09:30 +0000
csiph-web