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