ITSD424 Unit 4 Famous Favorite Subs
Continuing from the last assignment..
Update the GUI application you have developed so far by adding a Java application to store the order just made by the customer in a file and present a file confirmation message using files and streams. You may accomplish this by outputting the sub order information to a file. Finally, you will read this file to display the order confirmation information.
• Output user-entered data to a destination file using the file class.
• Input data from a source file using the file class.
• Use FileWriter class and PrintWriter class to output an order confirmation.
Sub bread: bbbbbbb
Sub type: ttttttttttttt
Sub size: ssssssss
Name: fffffff lllllll
Input File: SubOrder.txt