Swing Exercise

Create a Java Application or Applet using Swing that has 3 buttons in it
and looks like the following:

And operates as follows:

Left Button:

Middle Button Right Button