[Solved] Java realtime writing file when it’s opened

Interesting: Lets deal this in simple way. 1. Save a file test.txt somewhere. 2. Open that file and keep it opened In Java write to this file (Standard Code) FileWriter fw = new FileWriter(new FileOutputStream(new File(“c:/test.txt”))); fw.write(“ABC”) Now go to notepad file again. I normally used Textpad it does refresh automatically (by an alert) because … Read more