Lab: Stack-Based Undo GUI Application

We recommend that you work on this lab with a classmate.


In this lab you will experiment with the MVC design pattern by modifying a simple GUI application to provide undo functionality similar to what you can find in many common applications.


Follow the steps outlined in the homework due today.


Complete the task in the homework and show your work to an instructor. Make sure that you have not modified in any way the interfaces provided in the homework. If you have, you should start by recovering the originals from

Additional Activities

  1. If the input text area is empty, the Append operation should not be allowed. Can you think of a way to handle this situation? Implement this new feature.
  2. Add a Redo button to offer an unlimited redo feature.