We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello good people.
I am trying to save colour information stored as a hex value to a printWriter object so that i can load it up again another time. Ive used the hex()
method to get it to save it properly but i am having trouble on the other end when i try to put the salvaged string into a colour object from an array, as in: c1 = piece[1];
it seems like it is expecting an int and im giving it a string but ive passed hex to colours before with no problems. Im sure this is a rather simple problem but its getting on my wick!
Many thanks,
Danny.
Answers
Check the unhex() entry in the reference.
Kf
Thats the ticket! Cheers!