Hello!

I'd like to know how can I put a canvas3D into a panel. I have an object
3D (wrl) into a canvas3D and I need to putthe canvas3D into a panel. I
tried to put the canvas into a frame and it's OK. I can see it. But if I
try to put it into a Panel and after into a frame I see nothing.

For example:
if I have canvas3d

Frame fram = new Frame();
fram.add(canvas3d);
fram.pack();
fram.setVisible(true);

this it's OK and I can handle my wrl object.

On the other side if I consider the same example in which I changed:

Frame fram = new Frame();
Panel pan = new Panel();
pan.add(canvas3d);
fram.add(pan);
fram.pack();
fram.setVisible(true);

In this case I see nothing but it is a display problem because all the
functions goes well.

I really need to have this canvas into my panel and I don't know how to do
this.

Please help me if you can!

Vlad

*********************************************
*                                           *
* Vlad Valica                               *
* email: [EMAIL PROTECTED]
* tel:  bureau: 01.60.76.47.02              *
*               01.60.76.44.37              *
*       maison: 01.60.76.64.47              *
*                                           *
*                                           *
*********************************************

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