Question: Create an application that uses a graphic interface to capture room assignment data for dormitory residents and writes that data to a random access output file. The data required for each assignment includes a room number from 1 through 99 inclusive and the first and last names of the resident.
Allow the user to enter data one record at a time and to click a button to save it. Save the class as CreateRandomDormFile.java.
Make this application using java programming. Make this application in simple way.