@@ -0,0 +1,521 @@
+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 BtnSearch extends JButton implements Command %7B%0A    Mediator med;%0A    BtnSearch(ActionListener al, Mediator m) %7B%0A        super(%22Search%22);%0A        addActionListener(al);%0A        med = m;%0A        med.registerSearch(this);%0A    %7D%0A    public void execute() %7B%0A        med.search();%0A    %7D%0A   %0A%7D%0A

Create Btnsearch.java