Here is the code I tried to use by reading some tutorials:
from init function
      
                ...
                vaVertices = BufferUtil.newFloatBuffer(m_vertices.length);
		vaVertices.put(m_vertices, 0, m_vertices.length);
		vaVertices.rewind();
		m_VBO_verts = BufferUtil.newIntBuffer(m_indices.length);
		m_VBO_verts.put(m_indices, 0, m_indices.length);
		m_VBO_verts.rewind();
		
		gl.glGenBuffersARB(1, m_VBO_verts);
		gl.glBindBufferARB(GL.GL_ARRAY_BUFFER_ARB, m_VBO_verts.get());
		gl.glBufferDataARB(GL.GL_ARRAY_BUFFER_ARB, m_vertices.length * Float.SIZE,
					       vaVertices, GL.GL_STATIC_DRAW_ARB);
and more in the draw function
...
		gl.glBindBufferARB(GL.GL_ARRAY_BUFFER_ARB, m_VBO_verts.get());
		gl.glVertexPointer(3, GL.GL_FLOAT, 0, null); 
		
		gl.glDrawArrays(GL.GL_TRIANGLES, 0, m_vertices.length);
...
and I get this exception:
Exception in thread "Thread-3" javax.media.opengl.GLException: javax.media.opengl.GLException: array vertex_buffer_object must be disabled to call this method
Am I doing something wrong?