Of course you can also extends Canvas3D with a zero
argument construtor Bean like class:
public class MyCanvas3DBean extends Canvas3D
{
// since the super class Canvas3D needs a config
// argument
static java.awt.GraphicsConfiguration config=
SimpleUniverse.getPreferredConfiguration();
public MyCanvas3DBean()
{
super(config);
}
public MyCanvas3DBean(boolean offScreen)
{
super(config, offScreen);
}
...
}
Alessandro
--- Alessandro Borges <[EMAIL PROTECTED]>
escreveu: > Try to instatiate your Canvas3D object
this way:
>
> java.awt.GraphicsConfiguration config=
> SimpleUniverse.getPreferredConfiguration();
> Canvas3D canvas3D = new Canvas3D(config);
>
> There is no exist a Canvas3D constructor with no
> arguments.
>
> Alessandro
> --- �� <[EMAIL PROTECTED]> escreveu: > Hello!
> > I am using Jbuilder9.0. I want to add a
> > javax.media.j3d.Canvas3D JBean into one JPanel
> named
> > "contentPane", but it do not success.And It always
> > reports: 'Class or public constructor for the
> class
> > not found: new Canvas3D()'.
> > Can you tell me WHY??
> >
> >
> > THANKS
> >
> >
>
========================================================
> >
> > ������� ��ֵ�Ż� VIP������һ���� ������ʮ����
> > http://vip.163.com
> >
> > �й�������������ڵ���
> 25�ռ�4����������������
> > http://mail.163.com
> >
> > ����������ݾ�ϲ���� ȫ����ֻ��������㷢!��������
> > http://popo.163.com
> >
>
>
______________________________________________________________________
>
> Yahoo! Messenger - Fale com seus amigos online.
> Instale agora!
> http://br.download.yahoo.com/messenger/
>
>
===========================================================================
> 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".
______________________________________________________________________
Yahoo! Messenger - Fale com seus amigos online. Instale agora!
http://br.download.yahoo.com/messenger/
===========================================================================
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".