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


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

Re: How to force the timer to start

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: How to force the timer to start
Date Sat, 26 Nov 2011 09:59:53 -0800
Organization Canadian Mind Products
Lines 26
Message-ID <n5a2d7531rcg5eeafp4rrddrepueit6iro@4ax.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> <d8188cdb-7151-402b-9787-22ca683ffbce@k5g2000pre.googlegroups.com>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4768

Show key headers only | View raw


On Fri, 25 Nov 2011 15:14:37 -0800 (PST), simplicity
<stella_pigeon@live.ca> wrote, quoted or indirectly quoted someone who
said :

>
>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 =3D new Robot();
>r.mouseMove(100, 100);
>
>but I am laughing at myself when I look at this code.

I quite in the dark about what your code is doing. I will pass on this
one more rule of thumb.

Test your C code in a C harness, no Java at all. Only once it is
working perfectly hook it into Java with JNI glue.
 It is a lot easier to debug in a pure C environment.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
How long till someone puts out a car navigator with the realistic
side comments of a real back seat driver.
 

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