Hello to all.  I am battling something right now that appears to
be working fine with Threads outside of NetDynamics but when
used in conjunction with NetDynamics I am having some
problems.

I am trying to update the GUI with a JProgressBar that swooshes
back and forth upon commands: startMotion() and stopMotion().
This class actually extends from Thread and _has_ a JProgressBar.
Right before I execute a DataObject, I call startMotion().  When
the DataObject finishes its .execute(), I call stopMotion().  This
would give the desired effect of something in progress while the
user waits for their results.  Except it doesn't work.  The DataObject
thread of execution never allows the JProgressBar to update
itself.  It can print stuff out but it can not update the widget.
Any ideas why?  Swing considerations?

Thanks for any and all help.
Regards,
Gregory, HHMI


_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to