Re: Graphics Problem
- From: "Mary Walker" <mw@xxxxxxxx>
- Date: Sun, 11 Sep 2005 00:22:17 +0100
"Oliver Wong" <owong@xxxxxxxxxxxxxx> wrote in message
news:0XmUe.263562$on1.21586@xxxxxxxxxxx
> "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
Hi Oliver,
Many thanks for finding the time to point me in the right direction. I am
now looking into double buffering.
Regards,
Mary.
.
- 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
- Re: Graphics Problem
- From: Oliver Wong
- Graphics Problem
- Prev by Date: Re: Graphics Problem
- Next by Date: Re: Serializing a JTable
- Previous by thread: Re: Graphics Problem
- Next by thread: Re: Graphics Problem
- Index(es):
Relevant Pages
|