Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4720
| 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: pls hlep, can't get output |
| Date | Sun, 30 Oct 2011 22:21:06 -0700 |
| Organization | Canadian Mind Products |
| Lines | 31 |
| Message-ID | <llbsa7t7v4bdar538fr0tsklvgoluvplue@4ax.com> (permalink) |
| References | <33f44292-1f4f-4084-acee-259e633dbb59@x16g2000prd.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=utf-8 |
| Content-Transfer-Encoding | 8bit |
| 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:4720 |
Show key headers only | 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 | Next — Previous in thread | Find similar
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