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


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

Re: pls hlep, can't get output

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: pls hlep, can't get output
Date 2011-10-30 22:21 -0700
Organization Canadian Mind Products
Message-ID <llbsa7t7v4bdar538fr0tsklvgoluvplue@4ax.com> (permalink)
References <33f44292-1f4f-4084-acee-259e633dbb59@x16g2000prd.googlegroups.com>

Show all headers | View raw


On Mon, 17 Oct 2011 21:07:09 -0700 (PDT), kk <kcool.99x@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>while(true){
>
>
>
>                               g.drawLine(startX,startY,endX,endY);
>                               newpoint();
>                               //
>this.repaint(startX,startY,endX,endY);
>                               try{
>     Thread.sleep(1000);
>     }catch(Exception e){}

I have enhanced the entry at http://mindprod.com/jgloss/animation.html
I think you will find the example very useful.  You can start with it
and gradually morph it to what you want it to do.
It is a complete program that bounces a square diagonally up and down.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
It's difficult to be rigorous about whether a machine really knows,
thinks, etc., because we’re hard put to define these things. 
We understand human mental processes only slightly better than
a fish understands swimming. 
~ John McCarthy (born: 1927-09-04 died: 2011-10-23 at age: 84).
Inventor of the term AI (Artificial Intelligence), 
the short-circuit OR operator (|| in Java), 
and LISP (LIst Processing Language) that makes EMACS 
(Extensible MACro System) so addictive.

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


Thread

pls hlep, can't get output kk <kcool.99x@gmail.com> - 2011-10-17 21:07 -0700
  Re: pls hlep, can't get output Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-18 09:25 -0700
  Re: pls hlep, can't get output Roedy Green <see_website@mindprod.com.invalid> - 2011-10-30 20:17 -0700
  Re: pls hlep, can't get output Knute Johnson <nospam@knutejohnson.com> - 2011-10-30 20:28 -0700
  Re: pls hlep, can't get output Roedy Green <see_website@mindprod.com.invalid> - 2011-10-30 22:21 -0700

csiph-web