Assignment 4 for GUI Programming I.