Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4765

Re: How to force the timer to start

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: How to force the timer to start
Date 2011-11-24 15:42 -0800
Organization Canadian Mind Products
Message-ID <h9ltc7t57qcsba87rdo434ifrbmr39e51e@4ax.com> (permalink)
References <3be9f413-0634-4b56-8e24-8d85dd121793@d5g2000prf.googlegroups.com> <lqisc75kicjrmeob07sgltteoqh3hu0sqb@4ax.com> <7db36a79-0a48-47f4-bb85-a4a88633c4b8@h30g2000pro.googlegroups.com>

Show all headers | View raw


On Thu, 24 Nov 2011 11:02:58 -0800 (PST), simplicity
<stella_pigeon@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.

See http://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 Products
http://mindprod.com
I can't come to bed just yet. Somebody is wrong on the Internet. 

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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