Thanks to those who advised me a tutorial http://metalab.unc.edu/xml/slides/sd2000west/xmlandjava/189.html. Just the code lines BigInteger low = BigInteger.ZERO; BigInteger high = BigInteger.ONE; need to be changed into BigInteger low = new BigInteger ("0"); BigInteger high = new BigInteger ("1");
Those lines require Java 1.2 where BigInteger.ZERO and BigInteger.ONE were added. For Java 1.1, the changes you suggest should work.
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible (IDG Books, 1999) | | http://metalab.unc.edu/xml/books/bible/ | | http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ | | Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ | +----------------------------------+---------------------------------+
