Re: Java filing problem on Netbeans 12.2: File created but no data in it

2021-03-15 Thread Mark A. Flacy
Greetings, This is a generic Java problem, not a NetBeans issue. Try */FileWriter fileWritter = new FileWriter(f1, true); /*instead. -- Mark A. Flacy mfl...@verizon.net On Friday, March 12, 2021 7:01:44 PM CDT Zulfi Khan wrote: > Hi, > Subject: File created but message not stored > Thanks

Re: Java filing problem on Netbeans 12.2: File created but no data in it

2021-03-11 Thread Mark A. Flacy
Greetings, You are going to need to provide a lot more information before anyone even attempts to help you. Why is this a Netbeans problem? Did you make a project of some kind? If so, what type of project? What did you do via Netbeans? You are essentially saying "I did some things and I

Java filing problem on Netbeans 12.2: File created but no data in it

2021-03-11 Thread Zulfi Khan
Hi,I am trying to run the following program: ackage com.mycompany.fileWrite; import java.io.File; import java.io.FileWriter; import java.io.BufferedWriter; import java.io.IOException; /**  *  * @author zulfi  */ public class Main {     public static void main( String[] args ) {   try {