Hello-

I've also had problems with hanging.  Some of the stuff my team and I have
been working on has been put in an applet containing Swing.  We haven't
quite determined the actual cause of it.  I played with my system however,
and I don't get locks under the following set up.

IE 5.01SP1 (I'm pretty sure I downgraded IE, although I don't remember if
this helped)
Java3d 1.2 (NOT BETA) This seemed to help at least at first.
I'm also using Hotspot, not classic.  Classic seems to give us significant.
x2 - x4 performance decrease.

If anyone figures this locking issue out, please CC me as well.

Thanks,

Adam

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Dipl. Ing. Paul
Szawlowski
Sent: Wednesday, January 03, 2001 10:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] JTabbedPane and Canvas3D - system hangs


Hi Harry !


> Now, I read bugreports, forum dialogs, and they all point roughly to these
> subjects:
>       - mixing heavyweight/lightweight

If i see it right, then you use the JTabbedPane to show your scene graph
from
different viewpoints, Right ?
Well, you could use only one Canvas3D which you attach to one of your
several
viewplatforms after detaching it from the current one, when you change to a
different Tab. Just make the JTabbedPlane as small as possible by not using
the
panes and put it above the Canvas3D which is added directly to the Window.
In
this way you use the capability of the Tabs and the capability to attach a
Canvas3D to different viewplatforms (not at the same time of course) to
avoid
mixing lightweight and heavyweight.

>
>         - separate threads for Swing and Java3D

I haven't had problems yet using Swing and Java3D but i'm aware of the
differents threads and the problems which can occur with shared data. Swing
methods are not synchronized (with some exceptions). So currently I'm going
to
change to the InputDevice - Sensor mechanisms, which Java3D provides. The
purpose to do this is to deal correctly with Swing and Java3D threads. Maybe
this is a solution for you either.
 (actually I put a question to the group about synchronisation and swing ,
but
didn't get a reply yet - it could be also interesting for you).

regards
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".

Reply via email to