Hi, I have same problem when I try to run the demo program HelloUniverse. The problem is SimpleUniverse.getPerferedConfiguration() return null, and I do use a G400 graphic card. Could tell me what is reason?
Thanks On Fri, 25 Oct 2002 12:52:22 +0200, Yann Lemoigne <[EMAIL PROTECTED]> wrote: >Hu.... > >What is your graphic card, is it a G400 ? > >-----Message d'origine----- >De : Greg Huang [mailto:greg@;IIS.SINICA.EDU.TW] >Envoye : vendredi 25 octobre 2002 12:56 >A : [EMAIL PROTECTED] >Objet : Re: [JAVA3D] I can't run demo under Java 3D 1.3 > > >it had already been written as you listed > >----- Original Message ----- >From: Yann <mailto:ylemoigne@;ATTHIS.COM> Lemoigne >To: [EMAIL PROTECTED] <mailto:JAVA3D-INTEREST@;JAVA.SUN.COM> >Sent: Friday, October 25, 2002 5:43 PM >Subject: Re: [JAVA3D] I can't run demo under Java 3D 1.3 > > >Hi > >In your source code, try to replace > Canvas3D canvas = new Canvas3D(null); >by > Canvas3D canvas = new >Canvas3D(SimpleUniverse.getPreferredConfiguration()); > >Yann. > >-----Message d'origine----- >De : Greg Huang [mailto:greg@;IIS.SINICA.EDU.TW] >Envoye : vendredi 25 octobre 2002 11:45 >A : [EMAIL PROTECTED] <mailto:JAVA3D-INTEREST@;JAVA.SUN.COM> >Objet : [JAVA3D] I can't run demo under Java 3D 1.3 > > >hi >I installed sdk1.4.1 + java3d openGL 1.3 in my computer, >but I can't run any demo program now. >When I executed the program, I get the followed message >what is the cause of it ? >thanks in advance! > >p.s I can run it under java3d 1.2 > > C:\jdk1.4.1\demo\java3d\HelloUniverse>java HelloUniverse >************************************************************************ >*** ERROR: Canvas3D constructed with a null GraphicsConfiguration >*** This will cause a NullPointerException in a subsequent release >************************************************************************ >java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration > at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1093) > at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1058) > at HelloUniverse.init(HelloUniverse.java:97) > at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.java:262) > at java.lang.Thread.run(Thread.java:536) > > =========================================================================== 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".
