Can't attach java3d objects to branchgroup imported from another japplet
I'm doing a web based java 3d program where within a html page two JApplet will run simultaneously and can communicate with each other. Let the classes are A and B and both extend JApplet. Class A will draw some geometry in its canvas3d while its running. Now my actual requirement is, in class B there is a button (name GRAB) and whenever I clicked on it, it should import the branchgroup or transformgroup or the geometry objects from class A and add it to the branchgroup of class B. It's imported but I can't add it, and I don't know why? Please download the attached files and check it. So please help me guys.... Thank you.