0

I am using java.io package in my j2me programe in order to use PrintWriter but package does not show PrintWriter option nor it shows BufferedReader option , why this happen ??i do not know.if any one knows the solution plz tell me.is it require any specific library???? plz help me i have to complete my project .


Thanks.

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by sincerelibran
0

Hi,

J2ME does not have all the standard libraries that J2SE has. PrintWriter and BufferedReader doesn't exist in J2ME.
Maybe you can use DataInputStream and DataOutputStream instead?

You can do a quick search on google to get loads of tutorials and examples.

Hope this helps

0

import java.io.Writer;
import java.io.PrintWriter;

Try this

Regards

Sincerelibran

I am using java.io package in my j2me programe in order to use PrintWriter but package does not show PrintWriter option nor it shows BufferedReader option , why this happen ??i do not know.if any one knows the solution plz tell me.is it require any specific library???? plz help me i have to complete my project .


Thanks.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.