Lecture 4

PostItApplication: A demo program with a more sophisticated user interface. The program uses graphics on a JPanel embedded in a JFrame and features mouse interactions. It also uses ArrayLists.

We will not talk about the following in class yet, but the code below is a rewrite of PostItAppication using Java lambda expressions: