I have heard this request before, but I can't even picture what this means.
Do you mean to put a button or some other Swing component actually in the 3d
scene? or do you mean you are placing the component in the same Swing
container, with the canvas3d underneath the component?

Because you can do neither of these things to  my knowledge.  Swing is
lightweight and java3d is heavyweight.  The closest I have come is to put
swing components in JWindow's and float them above the canvas.  You can, of
course, build swing apps where the swing controls to the left, right, above
or below the canvas and that will work.  For some things I find I have to
trap the AWT events in the canvas3d and send them back to the top of my
Swing hierarchy to be processed properly (i.e. keystroke events).

Dave Yazel

> ----------
> From:         Stefan Bühlmann[SMTP:[EMAIL PROTECTED]]
> Reply To:     Discussion list for Java 3D API
> Sent:         Thursday, January 25, 2001 4:41 AM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] How can I project a Swing components onto a J3D
> surface?
>
> Hello,
>
> does anyone know a simple way, to project Swing components onto the =
> surface of a J3D object, such that the mouse is correctly passed =
> through? E.g. Clicking the mouse clicks on the swing buttons.
>
> Thanks for any help, Stefan
>
>

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