Forums Register Login

Deserializing attempt

+Pie Number of slices to send: Send
Hey, been following some guides and trying to make the ultimate beat maker. Unfortunately when trying to make save/load function I can't seem to save JCheckBox array.



The array was written directly through OutputObjectStream --> FileInputStream, where tcb is a 256 valued array of checkboxes. When trying to load they aren't selected.
+Pie Number of slices to send: Send
figured it out - convert to boolean array first.
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 320 times.
Similar Threads
Head First Java BeatBox restoring a file query
how to detect end of file
another head first beatbox question
class invalid for deserialization
class invalid for deserialization
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:24:37.