Software 1 GUI Mock-Up
1. Main form
The Main form contains a Parts pane and a Products pane with TableViews of parts and products; a search field; buttons to add, modify, and delete parts and products; and an Exit button as described in the assessment.
Java II Mid-Term – Consider the hierarchy of classes shown below.
2. Add Part form
Two views of the same form are shown—one for each of the radio buttons. The user has the option to select In-House or Outsourced to categorize the part. If the user selects Outsourced, the Company Name field is available. If the user selects In-House, the Machine ID field is available. The Inv field stores the number of units of the product that the company currently have available. The Min field stores the requirement for the minimum number of product items that must be available by the company at any given time, and the Max field denotes the maximum number of product items that the company can store. The values of the filed Inv, therefore, must be integers between the values stored in the fields Min and Max.
3. Modify Part form
Two views of the same form are shown—one for each of the radio buttons. The user has the option to select In-House or Outsourced to categorize the part. If the user selects Outsourced, the Company Name field is available. If the user selects In-House, the Machine ID field is available. The Modify Part form has the same functionality as the Add Part form, but the fields are populated with data that was previously entered and saved. The ID field is still disabled but now displays the selected part’s ID.
4. Add Product form
The Add Product form contains product information, a top TableView containing all the part data to choose from, and a bottom TableView with the associated part data.
5. Modify Product form
The Modify Product form has the same functionality as the Add Product form, but the parts and fields are populated with data that was previously entered and saved.