[Solved] COSC2452 Week8-Independent Investigative Effort 8

$25

File Name: COSC2452_Week8-Independent_Investigative_Effort_8.zip
File Size: 461.58 KB

SKU: [Solved] COSC2452 Week8-Independent Investigative Effort 8 Category: Tag:
5/5 - (1 vote)
5. This weeks programming task will cover concepts required by Assignment 3. You should aim to get the help of your tutors and make further revisions.Coding exercise steps (Hint: Need help? Ask your tutor via CanvasDiscussionsIIE08):Complete the 18/Jan/2021 solution first as this extends upon that work. Next follow CanvasModulesWeek 8 where the topics of creating multiple classes is explained. Your tutors will provide further explanations on these general topics and how they relate to this IIE during their weekly tutor chats. Please also follow the announcement How to debug large programs and get help on debugginga) In this weeks IIE, modify your own adaptation of the IIE07 student manager (which has to be different to the student manager) so that it has the same functionality but across several class files as follows.Start by creating the Application.java (do not modify its contents or even rename the class to anything else) which is the new entry point to your program. When run, it will allow a graphical interface and a console interface to the same program and records that you add from one interface should be visible across all interfaces (via manually invoking a refresh method).Application.java
public class Application { private BackEnd backEnd; private FrontEndGTerm uiGT; private FrontEndConsole uiConsole;public Application() { this.backEnd = new BackEnd();this.uiGT = new FrontEndGTerm(this.backEnd); this.uiConsole = new FrontEndConsole(this.backEnd); }public static void main(String[] args) { Application app = new Application();}
}
BackEnd.java: This file should contain the primary data structures (arrays relating to records), methods to add/remove records, etc. It should not have any mentions of GTerm, System.in/out, JOptionPane, etc. It must not make any assumptions about there being a GTerm interface and/or a console interface. All values returned by its methods should use standard Java API classes (e.g. String or Strings[]) or primitive data types. There is no need to prefix the method names with backEnd as done in IIE07.FrontEndGTerm.java: This file should contain only the methods and object member variables related to the GTerm interface. It must not have any awareness of any other interface. It should use tables, buttons, text fields, etc. to present the information. There is no need to prefix the method names with gui as done in IIE07.FrontEndConsole.java: This file should contain only the methods and object member variables related to the Console interface. It must not have any awareness of any other interface. A user should be able to perform the same operations (e.g. adding, querying, removing, etc.) as they can do with the graphical one above. There is no need to prefix the method names with console as done in IIE07.An important note about Assignment 2: In Assignment 2, there must be only one interface (GTerm). This IIE08 is relevant to Assingnment 3 requirements.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COSC2452 Week8-Independent Investigative Effort 8
$25