Search the web
Sign In
New User? Sign Up
croftsoft-ajgp · Advanced Java Game Programming discuss
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
page 107 of the book   Message List  
Reply | Forward Message #192 of 198 |
My original message was:

> > The code presented in page 107 of the book tries to
> > illustrate
> >
> > the idea of having variable delay times for the sleep()
> > method.
> >
> >
> >
> > Does the update(); method call refer to the
> > update(JComponent c) of the component animator
> >
> > (and its just a typo), or is it a method call to the
> > update() method of the component?
> >
> >
> >
> > If so, the following call of the repaint() will result into
> > another call to the update(),
> >
> > resulting into two updates for every pass of the while
> > loop.
> >
> >
> >
> > Either way, the idea presented is not affected, but i have
> > the bad habit of trying
> >
> > to understand as possible.
> >
> >
> >
> > Thank you in advance

I was asked to post my question here.

Later, rereading the chapter helped me understand it a little more, so i sent
another one:

me and my bad habit...
re-reading the whole chapter a couple of times i can say that my question was
way way off.
Since the classes presented in the book override the repaint() method of a
JComponent,
and the code of the override doesnt call upate(), my question was not valid.
(Though a hint printed in discrete font at the end of the page stating that fact
could hava saved me some time)

Thats what happens when you lack intelligence while having the bad habit of
trying to understand as much as possible....

Thank you for your time.






Mon Aug 17, 2009 10:42 am

skinloasmaios
Offline Offline
Send Email Send Email

Forward
Message #192 of 198 |
Expand Messages Author Sort by Date

... I was asked to post my question here. Later, rereading the chapter helped me understand it a little more, so i sent another one: me and my bad habit... ...
skinloasmaios
Offline Send Email
Aug 18, 2009
4:42 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help