well...that's a problem. Would a thread also be stopped on minimization? I mean, if you start it a separate thread for the network stuff would that also stop?? Because I have network communication that I also need to keep running to update my animation.
Mario -----Original Message----- From: John Wright To: [EMAIL PROTECTED] Sent: 1/14/2003 6:38 AM Subject: Re: [JAVA3D] ? Behavior WakeupOnElapsedTime ? Mario, Yes, when a Java 3D app is minimized it goes to sleep (behaviors stop executing). Because of this behavior we've been trying to find a way to prevent users from minimizing our application (so far I haven't found a way to prevent that). This is a real problem for us as we need to process network communication whether or not the application is minimized. - John Wright Starfire Research "ZACZEK, MARIUSZ P. (JSC-DM) (NASA)" wrote: > > Hi, > This is what I declare in my behavior for wakeup conditions: > > int samplingtime = 1; > WakeupOnElapsedTime conditions = new > WakeupOnElapsedTime(samplingtime); > > I notice this situation...when I run my code I have my behavior update the > value inside a textbox in a swing portion. BUT, when I minimize the window > this value does seem to change...basically given the wakup condition this > value should be increasing by 1 every 1 millisecond (samplingtime = 1), > but > instead the value seems to be stopped...I can keep the window minimized > for > a long time and once I restore it I only then see the value change. By > that > time the value should already have increased by several hundred. It almost > seems like the conditions are based on frames and not on elapsed time. Has > anyone seen this kind of problem? > > Mario > > Mariusz Zaczek > NASA - Johnson Space Center > Automated Vehicles and Orbit Analysis / DM35 > Flight Design and Dynamics Division > Mission Operations Directorate > Bldg: 30A Room: 3040A > > Disclaimer: "The opinions, observations and comments expressed in my email > are strictly my own and do not necessarily reflect those of > NASA." > > ======================================================================== === > 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". =========================================================================== 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".