Ask coding questions

← Back to all posts
FileWriter to write variable to file inside of actionListener
L0k3d20uz4 (1)

This program is supposed to take an order from the user, and then print out the receipt. The receipt should also be saved to a file. However, I keep getting errors saying that it can't find the symbol of my object, or that I haven't used a try catch. Can someone please tell me what I'm doing wrong?