Hi All,
I've implemented a loader for a Java3D app I've got but it's very important
for me to get some kind of progress monitor. Bearing in mind the Loader
interface doesn't support such I opted for the approach of using a
PROGRESS_MONITOR flag which instructs the loader to display a JFrame with a
short message and a JProgressBar.
Progress bar is updated very simply by measuring available bytes in the
input stream and the system works fine independantly of my app. However as
soon as I have a canvas3D and a SimpleUniverse the JFrame shows up but none
of it's components are ever drawn. I've tried adjusting the priority of the
Java3D threads but with no gain?
I set my canvas to output a simple message every time it rendered a frame
and the change in priority is definitely slowing down the rendering but my
Swing components still aren't showing up. It's not even that they're not
being updated frequently enough - they just aren't appearing.
I followed the discussion on Java3D threads and Swing interactions etc. that
has been ongoing but they all seem to deal with eventhandling such as button
presses etc. whereas I only need my components to appear. I've even echoed
to stdout the progress values as they are set and the progress bar is being
updated successfully!
All clues, suggestions or observations will be gratefully received,
Cheers,
Ewan
P.S. jdk1.4.0 beta3, j3d1.3 beta1
----------------------------------------------------------------------------
---------------
Ewan Borland
Computing Science
University of Glasgow
e-mail : [EMAIL PROTECTED]
[EMAIL PROTECTED]
----------------------------------------------------------------------------
----------------
===========================================================================
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".