Bouncing Balls in a Cube

I’m trying to create my first JME application with cube walls and balls that bounce within the cube. The balls seem to pass through the walls and eventually the floor instead of bouncing off the walls and floor (and remaining contained within the cube when they’ve lost velocity). Does anyone have any advice on how I can correct my problem?

Pastebin code: http://pastebin.com/zKtdJEQC

you using the wrong box constructor.

For example don’t do this:

[java]new Box(new Vector3f(0, 0, 0), new Vector3f(0, WALL_SIZE, WALL_SIZE));[/java]

do
[java]new Box (0, WALL_SIZE, WALL_SIZE); // Use (0, 0, 0) as the middle of the box
geom.move (…);// move the geometry containing the box to the correct location[/java]

also setting [java]bulletAppState.getPhysicsSpace().enableDebug(assetManager);[/java] will show you the collision shapes

Your whole approach raises questions though, this may be better:
http://hub.jmonkeyengine.org/forum/topic/creating-spheres-inside-box/