You can combine Swing components and Canvas3Ds within the same window. Just
add the Canvas3D into your layout at whatever position you want it to
appear. You may have to watch out if you're using pop-up windows of any kind
(JComboBox caught me out recently) as they'll appear behind the Canvas3D
unless you disable the use of light-weight components. This article should
explain better than I can:

http://java.sun.com/products/jfc/tsc/articles/mixing/

Canvas3D is a heavyweight component.

Hope this helps,
Matt

-----Original Message-----
From: Karl Parry [mailto:[EMAIL PROTECTED]]
Sent: 22 February 2002 11:03
To: [EMAIL PROTECTED]
Subject: [JAVA3D] GUI navigation in VR world


Hello,
I am hoping to produce a VR world using Java 3D and at
the moment navigation is handled with the mouse and
keyboard. However I would like to use a GUI with
buttons, as I wish to have this program as a part of a
web page.

How do I go about doing this? I can create a Swing
application and have a seperate screen showing the 3D
world? or can they be combined together? This latter
option would be best suited.

I would be the 3d window with added control button
that a user could click to progress through the
world..

Does anyone know where I should start??

Thanks lots,
KP

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

===========================================================================
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