View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Case Final Project Summer 2007

M7: GUI Coding

M7: GUI Coding


Welcome to M7! This was the Graphical-user interface milestone.
The GUI Developers Guide was one of our greatest assets in the creation
of the GUI. This guide helped to give us good examples and ideas of
what the GUI should look like. have a good plan of what the GUI should
look like even before you start to code it. using Photoshop or some other
drawing program is a great asset to use to draw preliminary sketches.
Another suggestion that we feel would help would be to start this part
early and work together with the rest of the back-end team. Do not just
break up into different groups and code alone, working with the back-end
coders helps to speed the process up and helps to keep the consistency of
your program.

General Tips








and can come back to bite you.

Example Code
This is an example of error checking. If the program that you are writing
uses lists then you need to remember about if the list is empty or not.

Here is kind of the typical setup for methods that deal with list widgets.

removeEmployee
"This method removes an employee from the list of employees"
employeeList selection notNil
ifTrue: [modelEmp removeEmployee: employeeList selection userName]

The selection notNil ifTrue:[] line checks to see if there is something in the list
or not and if there is nothing then the action that you are trying to do does not work.

CCSScreen.jpg
This is a screenshot of our main CCS window.

Notice the use the tab control widget. This can be a somewhat difficult widget to figure
out, but when you do it can be very simple and powerful.

SupplerScreen.jpg
This is a screenshot of our Supplier window.

POSScreen.jpg
This is a screenshot of our POS screen.

ReportsScreen.jpg
This is a screenshot of our Reports screen.

Link to this Page