Hi Luc
      The problem is you never gets the new intBuffer with capacity
"getNumRows()". When you create the first time intBuffer you allocate 0
space and put that object IntBuffer inside intBuffer, after that you must
do the same when reallocate the buffer, and save the result in the same
object or in a new.

 You must use

intBuffer = intBuffer.allocate(getNumRows());

instead

intBuffer.allocate(getNumRows());
intBuffer.clear();

this way clear automatically  intBuffer.

Regards

Ignacio Diazmacip L�pez
Integration Architect
[EMAIL PROTECTED]



____________________________________________________________________________
For your protection, this e-mail message has been scanned for viruses.
Visit us at http://www.neoris.com/

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to