Textured GL_QUADS joins in a cube enviroment

Hi
i´ve created a world for my scene and all the enviroment is in a huge cube formed by 6 GL_QUADS.

gl.glPushMatrix()
gl.glBegin(GL.GL_QUADS);
//1st face
gl.glEnd();

gl.glBegin(GL.GL_QUADS);
//2nd face
gl.glEnd();
.
.
.

gl.glBegin(GL.GL_QUADS);
//last face
gl.glEnd();

gl.glPopMatrix();

The sequence above create a perfect box but the joins in limit of each quad are too visible.
I know there´s a command to hide this joins… someone can remind me hehehe? please

I´ve tried to use:

gl.glPushMatrix()
gl.glBegin(GL.GL_QUADS);

  //1st face
  //2nd face
  //3rd face
    .
    .
    .

 //last face

gl.glEnd();

gl.glPopMatrix();

the sequence above hide all visible joins but all faces receive the same texture.

I still not try use the last sequence shown and apply a mapped texture file. I think it can solve the problem but the situation I show in first sequence also have a solution… I just don´t remember how