






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
- Work with your entire team when coding to speed up and help everyone.
- Focus on good UI design and DO NOT put it off to the last minute.
- Know what you want the program to look like before you even start coding.
- Use the GUI Developers Guide.
- Do not forget that your teacher is the BEST TA.
- Do not forget your Aspect Adapters and watch your references!
- Use Transcript show and inspect to your advantage.
- Comment your code as you write it, putting it off only wastes time in the end
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.

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.

This is a screenshot of our Supplier window.

This is a screenshot of our POS screen.

This is a screenshot of our Reports screen.
Link to this Page
- Team Apathy2 last edited on 23 April 2009 at 10:43 pm by 128.61.127.211