Re: Graphics Problem
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Fri, 09 Sep 2005 21:14:36 GMT
"Mary Wallker" <mary@xxxxxxxxxx> wrote in message
news:4321f82b_3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi, Thanks for your reply. I have enclosed a simple program which
> displays this problem (I had actually already posted it in my original
> post but I'm glad to post it again as there was a slight bug in the
> original one).
Okay, this one works. So like I said, the way to solve your problem is
to do double buffering. Go to
http://java.sun.com/docs/books/tutorial/2d/images/doublebuffering.html for a
tutorial on it.
As for the sluggishness of your code, I suspect it's due to the call to
sleep(5) inside the while loop.
- Oliver
.
- Follow-Ups:
- Re: Graphics Problem
- From: Roedy Green
- Re: Graphics Problem
- From: Mary Walker
- Re: Graphics Problem
- From: Mary Wallker
- Re: Graphics Problem
- References:
- Graphics Problem
- From: Mary Walker
- Re: Graphics Problem
- From: Oliver Wong
- Re: Graphics Problem
- From: Mary Walker
- Re: Graphics Problem
- From: Babu Kalakrishnan
- Re: Graphics Problem
- From: Mary Wallker
- Graphics Problem
- Prev by Date: Re: Graphics Problem
- Next by Date: Re: Graphics Problem
- Previous by thread: Re: Graphics Problem
- Next by thread: Re: Graphics Problem
- Index(es):
Relevant Pages
|