Is anybody here working in java3d?

please help me in generating normals for a triangle array..I have the float array that contains the normal coordinates and int array containing normal indices.. I used

to set the normals to the TriangleArray created using the GeometryInfo..
The issue is appearance of the model that am displaying is not setting properly,its appearing as the appearance is floating through the model..

Appearance setting is correct,so am thinking its normal issue..