The Graphical User Interface of the Proprietary Group Company has been designed and implemented successfully. The system stores all the details of the saved properties in the text file named property.txt. The system also accesses the detail saved in the text file and display them on the graphical user interface of the system. The system has been implemented to use several inbuilt functions to write and read from the text files by inheriting them (Zaw et al., 2015).
The FileWriter and BufferedWriter in-built classes have been inherited to aid toward saving details of the property by writing them to the file named property.txt (Murali et al., 2017). The FileInputStream has also been implemented to enhance the reading of the property details from the text file (Chao et al., 2016).
The system has been developed to have a very user-friendly screen that the user can easily interact with (Sedgewick et al., 2017). When the users run the system, they will first be prompted by the welcome dialog which will require them to select the option that they need to execute in order to proceed. The user can either click the button for “Enter and save Property details” or the button for “Display all property details”. The welcome dialog window is as shown below.
When the user clicks the first button “Enter and save property details” the dialog for filling in the detail will be opened and the user will be prompted to enter the details of the property. The details to be entered include Property type, property address, property area and the number of bedrooms. The dialog has two buttons which are the save button, which is used to capture the users’ entered details and save them to the text file namely property.txt, and the cancel button which is used to exit the dialog without saving the details and return to the welcome dialog. The “Enter and Save Property Details” dialog is as shown below.
The system has eliminated all the possible errors that could be experienced by the user. If the user tries to save the details of the property without selecting the property type, an error message will be prompted informing the user that the user has not yet selected the property type as shown below.
If the user tries to save the details without entering all the inputs in the text fields, he will be prompted with an error message dialogs informing the user that he has not yet entered details for a specific field. If the user tries to save the details without filling the text field for the address, he will be prompted with an error message informing the user that he should fill in the details for the property address as shown below.
If the user tries to save the details without filling the text field for the property area, the system will prompt an error message informing the user that he should fill in the details for the property area as shown below.
If the user tries to save the details without filling the text field for the number of bedrooms, he will be prompted with an error message informing the user that he should fill in the number of bedrooms as shown below.
The assumption that has been made while the user is entering the details is that for the property address it can accept both digits and characters; it can be a variable character. The fields for area and number of bedrooms have been validated in the essence that the user will only enter digits values only. The user cannot fill in character inputs in those fields rather digits only. If the user tries to enter a character in those fields he will be prompted that only numeric is accepted by the field as shown below.
If the property.txt file is not found in the directory, the system will prompt the user with a message dialog informing that the property text file is not found and asks the user if he want to create the propert.txt file as shown below. If the user clicks yes, the property.txt file will be created and the details saved successfully. If the user clicks No the dialog will close and open the welcome dialog.
Another assumption that has been made is that the property type Land does not need to be entered the property details for the number of bedrooms since it is just land, no house available. Thus the system will automatically disable the text field for the number of bedrooms in the essence that the user cannot edit it and set the text field to “n/a” meaning the details are not applicable in this context (Land) as shown below.
The system uses the methods from the classes for calculating the price of land or the price of the house depending on the type of property the user selects by inheriting the methods from those classes and passing arguments (Felleisen et al., 2018). It will then compute the prices based on the area of land for land prices and area of land and number of bedrooms for houses prices. It will save the detail to the property.txt file and prompt the user with a dialog informing them that the details have been saved successfully as shown below.
After the system has saved the details successfully, it will return to the welcome dialogue and prompt the user to select an option to proceed. If the user clicks on the “Display property details” button, the dialog showing the property details will be opened and shows the details of each property fetched from the property.txt file as shown below.
When the user clicks on the next button the details of the next properties will be shown, the user will continue clicking next until all the property details have been exhausted. When all the property details have been exhausted and the user clicks the next button, the user will be prompted with an error dialog showing that all the property details in the property text file have been exhausted and that it has reached the end of next property details as shown below.
The user can also navigate across the property details by clicking on the previous button to show the details of the previous property. The user will navigate using the previous button until all the previous details have been exhausted, and then it will inform the user that it has exhausted all the previous property details as shown below.
When the user clicks on the cancel button, the dialog will exit and open the welcome dialog. When the user clicks the “X” on the uppermost right of the screen of the welcome dialog, the system will terminate and exit.
References
Cho, S., Kim, G., Cho, S. J., Choi, J., Park, M., & Han, S. (2016, October). Runtime input validation for Java web applications using static bytecode instrumentation. In Proceedings of the International Conference on Research in Adaptive and Convergent Systems (pp. 148-152). ACM.
Felleisen, M., Findler, R. B., Flatt, M., & Krishnamurthi, S. (2018). How to design programs: an introduction to programming and computing. MIT Press.
Murali, V., Chaudhuri, S., & Jermaine, C. (2017). Bayesian Sketch Learning for Program Synthesis. ArXiv e-prints.
Sedgewick, R., & Wayne, K. (2017). Introduction to programming in Java: an interdisciplinary approach. Addison-Wesley Professional.
Zaw, K. K., Funabiki, N., & Kao, W. C. (2015). A proposal of value trace problem for algorithm code reading in Java programming learning assistant system. Information Engineering Express, 1(3), 9-18.
Essay Writing Service Features
Our Experience
No matter how complex your assignment is, we can find the right professional for your specific task. Contact Essay is an essay writing company that hires only the smartest minds to help you with your projects. Our expertise allows us to provide students with high-quality academic writing, editing & proofreading services.Free Features
Free revision policy
$10Free bibliography & reference
$8Free title page
$8Free formatting
$8How Our Essay Writing Service Works
First, you will need to complete an order form. It's not difficult but, in case there is anything you find not to be clear, you may always call us so that we can guide you through it. On the order form, you will need to include some basic information concerning your order: subject, topic, number of pages, etc. We also encourage our clients to upload any relevant information or sources that will help.
Complete the order formOnce we have all the information and instructions that we need, we select the most suitable writer for your assignment. While everything seems to be clear, the writer, who has complete knowledge of the subject, may need clarification from you. It is at that point that you would receive a call or email from us.
Writer’s assignmentAs soon as the writer has finished, it will be delivered both to the website and to your email address so that you will not miss it. If your deadline is close at hand, we will place a call to you to make sure that you receive the paper on time.
Completing the order and download