i just copied the bit shifting off somewhere else
as for nextInt, the method does not allow me to put any parameters in it, which was why i tried putting it when i created randcolor. i checked the API for that already. anyway i took out the numbers when i created randcolor and it works fine so far. thanks!!!
[ May 22, 2006: Message edited by: tan kian ]