COSC 341: Human Computer Interaction
A1: A Graphical User Interface [22 pts]
Due date: Sept 24, 2017, 9:00am
What to submit:
A zip folder with:
- Your source code
- An executable of your program that works on a school computer
Note: if it requires any additional file such as images, then make sure
everything is placed within the same folder and your work does not
require any installation on our part
- A plain text file (.txt) of the time logs generated by your program
- A plain text file (.txt) indicating any known bugs or incomplete
functions in your program
Any help you got and any code you are using from downloaded sources must be
cited within your code. Online sources must have accompanying URLs.
Overview
This is a programming assignment where you will build a simple GUI with some
event detection and data collection capabilities. Assignment 2 will take the
program you build here and add on additional interaction functionalities.
In order to maintain flexibility in your code here, you may wish to read ahead
on the A2 specs to see what you have to do next.
Note: You may choose to code in any programming language you want, so long as
the executable can run without errors on the school computers in the lab where
you will be required to run it for data collection purposes.
It is your responsibility to test this in the labs well in advance of each
milestone due date.
Specific Requirements
Resources
- Personal favourite reference for Java Swing tutorials
- Understainding how GroupLayout works in Java Swing
Grading Criteria
- [6 pts] A working GUI with the simple widgets as required
- [8 pts] The program correctly collects click times in milliseconds
- [3 pts] The program does not crash after 50 trials, and successfully exits
- [3 pts] The times are logged in a plain text file (.txt)
- [2 pts] Documentation as required in your submission