EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
Java代写
您的位置: 主页 > 编程案例 > Java代写 >
代写Java:Advanced Programming | java GUI代写 - Java代写
发布时间:2021-07-25 20:49:34浏览次数:
Assignment 2 Semester 2, 2019Submission due date: 23:59pm Friday 18th October 2019 IMPORTANT: For more details about submission and demo, please read the section Submission Details and Demos at the end of this assignment specification.Academic IntegrityThe submitted assignment must be your own work. For more information, please visit http://www.rmit.edu.au/academicintegrity.Plagiarism is treated very seriously at RMIT. Plagiarism includes copying code directly from other students, internet or other resources without proper reference. Sometimes, students study and work on assignments together and submit similar files which may be regarded as plagiarism. Please note that you should always create your own assignment work even if you have very similar ideas.Plagiarism-detection tools will be used for all submissions. Penalties may be applied in cases of plagiarism.OverviewJavaFX代写This assignment is designed to help you:Enhance your ability to build a Graphical User Interface using JavaFXPractise implementation of various GUI event handlers and handling exceptionsRead from and write to a database using Java JDBC technologyIncorporate text file handling in your program to import and export dataNOTE:This assignment is of a size and scope that can be done as an individual assignment. Group work is not allowed.A more detailed marking rubric and demo schedule will be provided closer to submission.General Implementation RequirementsAll information displayed to the user and all user interactions should be done via the GUI. There must be no Console input and output.You are free to create your own GUI layouts as long as your layouts are clear and meet the requirements shown in the following sections. Marks might be deducted for very poor GUI design.Any user inputs via the GUI should be validated.You must not use 3rd-party GUI components which are not built by you.Marks will be allocated to proper documentation and coding layout and style. Your coding style should be consistent with standard coding conventions shown in the General Implementation Requirements section of Assignment 1.Your programs will be marked with Java SE 8.0. Make sure you test your program with this setting before your final submission.Task SpecificationsNOTE: Carefully read the following requirements. In addition, regularly follow the Canvas assignment discussion board for assignment related clarifications and discussion.Packages and Organisation of CodeYou must use the following packages to separate your code into sets of related classes and interfaces:view: contains all your GUI classes.controller: contains all your listener classes which store event handling code.model: contains the main business logic of your application, all your classes to store and process data (Room, Standard Room, Suite ), all exception classes and all database and file handling classes.You can use sub-packages inside the packages shown above.Data GenerationYou are required to generate data for 6 rooms, including 3 standard rooms and 3 suites. At least one standard room and one suite having 2 completed rental records with random information such as customer ids, rent, return dates, rental fees and late fees that you are free to create as long as they are reasonable.Each room must have a corresponding image. Image size should not be large (preferably from 100KB to 250KB). Click here for an example of such an image. You must keep all images in a folder named images which is a direct sub-folder of your assignment project. If a room has no corresponding image, a default image with the phrase No Image Available should be used (please see this example).Exception HandlingsCreating Custom Exception ClassesIn assignment 1, methods such as rent( ), returnRoom( ), performMaintenance(), completeMaintenance(..) have boolean as return types to indicate whether the corresponding operation is executed successfully or not. In assignment 2, you are required to modify all those methods so that all of them will return void instead of boolean and will throw custom exceptions. You are required to create custom exceptions such as RentException, ReturnException, MaintenanceException, InvalidIdException…. to represent various exceptional cases that can occur when those methods are executed. All of those custom exception types should allow appropriate error messages to be specified when exception objects are created.Generating and Propagating Exception ObjectsTo use your custom exceptions effectively, you will need to look for areas in your program where you need to handle various cases such as when there is an invalid room id,  or when a room or suite cannot be rented or returned, or when there is an invalid user input… Then you should generate appropriate exceptions and throw those exceptions back to the appropriate class to be handled.Handling ExceptionsThose various exception objects should then be allowed to propagate back to the appropriate class (i.e. those exception should not be caught locally within the class that generates the exception).All exceptions will need to be caught and handled in an appropriate manner by displaying a dialog box via the GUI to the user, showing the error message contained within the various exception objects that have been propagated up from the relevant method call.Using Database For Data PersistenceEvery time your program is executed and terminated, data will be read from and save to a database. For this assignment, you should use an embedded HSQLDB (shown in the lecture) or SQLite database. You must keep all database files in a folder named database which is a direct sub-folder of your assignment project.You must create at least one table in your database to store all data of the CityLodge application including room and rental records. You are free to design the database, to chose appropriate tables, columns, data types that are suitable for storing data in your application.NOTE: No need to store images directly in the database. Only image file names should be stored as text in the database. All images will still be kept in the images folder which is a direct sub-folder of your assignment project.For instructions about using HSQLDB with Eclipse, please visit this pagehttps://tinyurl.com/y7hty8tgGraphical User Interface (GUI)All user interaction with the CityLodge system will be done via the GUI. Users should be able to click buttons, select menu items, choose list items from drop-down lists to perform all functionalities described in Assignment 1 such as add, rent and return a room as well as perform and complete room maintenance.Main Program WindowThis is the first window a user will see when running your program.This window should contain a menu bar from which users can execute the main functionalities of your program, such as adding a new room, import room data from text file, export room data to text file, quit the program and other main functionalities described below. When a button is clicked or a menu item is selected, new windows or dialog boxes should be displayed to allow users to perform corresponding functionalities.The centre area of this window will contain a scrollable list of standard rooms and suites managed by your program. Each list item displays information about a rental room using various JavaFX User Interface Controls such as ImageView, Label, Buttons…, rather than just a text area showing the output of getDetails() method. Click herefor an example of how the list of standard rooms and suites should look like.In this list, each list item provides an overview of a room with an image of that room, room type, status, features and a button that users can click on to go to the detail view of that room to perform more functionalities related to that room (more details are in the Room Detail Window section shown below)

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。