An array of code that is completed 10 minutes in the J2SE takes an afternoon in j2me. What kind of code is it?
[Requirements] read in the game hints stored in text form
Analysis
J2ME no bufferreader, use InputStreamReader.
Since there is no bufferreader, also do not expect to have ReadLine (), the cycle of their own slowly
[Source code]
The following is the program code
* Read Hint--------------------------------------* *
/**
* This is the hints
* */
String[][] HINTSTR;
/**
* This specify the hint "s show width
*/
Final int hint_width = 8;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.