@@ -0,0 +1,511 @@
+import java.awt.Font;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0Aimport javax.swing.JButton;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0A// A concrete colleague%0Aclass BtnView extends JButton implements Command %7B%0A    Mediator med;%0A    BtnView(ActionListener al, Mediator m) %7B%0A        super(%22View%22);%0A        addActionListener(al);%0A        med = m;%0A        med.registerView(this);%0A    %7D%0A    public void execute() %7B%0A        med.view();%0A    %7D%0A   %0A%7D%0A

Create BtnView.java