View Part 1Homepage  « Case Study « View Part 1

In this section of the case study we look at the view part of the MVC paradigm and code as much of the view as we can from the information provided within the Project Proposal. Before we start coding the view we need to spend some time thinking about the overall design of the GUI. This includes the common panel we are going to display to the user on startup for the entry of the Manufacturer file location and possibly a port, and how we are going to display the Manufacturer data in a readable form for our users whilst allowing options to search, stock and unstock. We will begin coding the view part of the MVC pattern, starting with the classes that are independent of other classes within the Manufacturer application. We finish the section by compiling the code for the Manufacturer application startup and also the saved run mode / run mode options.

Designing The GUI

In our first lesson of the section we spend some time thinking about the overall design of the GUI. This includes the common panel we are going to display to the user on startup for the entry of the Manufacturer file location/port, and how we are going display the Manufacturer data to users whilst allowing options to search, stock and unstock. In our first lesson of the section we draw up some rough sketches for our panels, make some design decisions with regards to user interaction with the panels and name some classes needed to implement our design choices.

Independent GUI Classes

We will start coding the view part of the MVC pattern, starting with the classes that are independent of other classes within the Manufacturer application. These classes have no reliance on other classes and so will compile cleanly and make compilation of the rest of the view part of the Manufacturer application easier.

Startup & Run Mode Options

In our final lesson of the section we look at the code for the Manufacturer application startup and also the saved run mode / run mode options.

go to home page Homepage go to home page Top

All the View Part 1 lessons are listed below. Click a link to go to that lesson.


View Part 1

Designing The GUI

Independent GUI Classes

Startup & Run Mode Options