I think it's already that way. No key pressed, no wake up. But if you use the keyboard to switch the panels ?
Cheers, Florin -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Michael Pfeiffer Sent: Freitag, 26. September 2003 15:52 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] swing paint problems But wouldn't be there a possibility to optimize it? I think when no key is pressed it is not necessary to wake up for every frame. On Fri, 26 Sep 2003 11:56:11 +0200, Florin Herinean <[EMAIL PROTECTED]> wrote: > For smooth movement. Otherwise, your scene will move in jumps, which is > not > nice. > > Florin > > -----Original Message----- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED] Behalf Of Paul Brown > Sent: Donnerstag, 25. September 2003 22:07 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] swing paint problems > > > Apologies. The painting of the icons was a red herring. > > I now believe that my problems are the result of using the com.sun > KeyNavigateBehaviour. From looking at the source code, it seems to wake > on every frame. Consequently, it means the cpu is running at 100% and > there isn't time to do anything else - like paint greyed out icons. > > I know that Sun only provide the code for illustrative purposes but... > > I guess my question now is: why does the keyNavigateBehaviour need to be > awoken every frame? > > -Paul > > =========================================================================== > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff JAVA3D-INTEREST". For general help, send email > to > [EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff JAVA3D-INTEREST". For general help, send email > to > [EMAIL PROTECTED] and include in the body of the message "help". > -- -- Virtual Worlds Productions Software Development Group http://www.virtualworlds.de =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".