You bascially export the model from max into a 3d file format, and load it into java using an appropriate model loader and then dispaly it.
If you want to use text, your best bet is to use the OBJ Format, you'll need an OBJ loader, once you make your maze in 3ds max just export it as an obj file, and then load it into java using your OBJ Loader.
btw what do you want to load it into ? something like OpenGL using LWJGL/JOGL or something like Java2d?
could use a sceneograph like JME http://www.jmonkeyengine.com
, which uses OpenGL and has built in support for the OBJ format, so you wont have to write an OBJ loader, it also supports other formats that 3ds max can export to such as COLLADA, 3DS and ASE.
a good tutorial to get you stared would be the asteroids one over at http://www.cokeandcode.com/asteroidstutorial