Hi, I have an array of RenderedImage, brainImages. I am trying to get the ImageComponent3D calling the constructor ImageComponent3D(ImageComponent.FORMAT_RGBA,brainImages)
I get a NullPointerException like this: Exception occurred during event dispatching: java.lang.NullPointerException at javax.media.j3d.ImageComponent3DRetained.set (ImageComponent3DRetained.java:64) at javax.media.j3d.ImageComponent3D.<init>(ImageComponent3D.java:118) at BrainGUI.actionPerformed(BrainGUI.java:168) at java.awt.MenuItem.processActionEvent(MenuItem.java:526) at java.awt.MenuItem.processEvent(MenuItem.java:490) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:266) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:256) at java.awt.EventQueue.dispatchEvent(EventQueue.java:336) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88) at java.awt.EventDispatchThread.run(EventDispatchThread.java:80) I get a similar message when trying to use ImageComponent2D for a single brainImage. Would someone be able to help me with this? I am using Java1.2.1_04. The documentation said I could use RenderedImage. I am trying to load up images of the brain into a Java 3D application. I would really appreciate the help Thanks Vijay __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ =========================================================================== 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".