bufferedwriter write file code example Example: bufferedwriter doesn't write to file // Make sure you close your writer like this: myWriter.close();