BONUS ASSIGNMENT: Picture Frame III



You are on your own with this assignment, you'll have to implement something that will not be taught in class: a menu for the picture frame programmed in assignment 8:

Add a Menu to assignment 8, containing (and reacting to) the entries:

The reaction to the menu items:
There are multiple solutions to solve the enable/disable task. You can actually DEREGISTER the listener from the buttons (please find the appropriate command in the API), but you can also just set a variable if the buttons should be active, and register them as before.

Menu programming is described in chapter 14 in the book, the TA will also help.


Score: 5 bonus points, that can be used to equalize the score of the assignments 1-8.