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.

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.