@@ -0,0 +1,1199 @@
+import java.awt.Color;%0Aimport java.awt.Graphics;%0Aimport java.awt.Graphics2D;%0Aimport java.awt.GridLayout;%0Aimport java.awt.TextField;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0Aimport java.awt.event.MouseEvent;%0Aimport java.awt.event.MouseListener;%0A%0Aimport javax.swing.JButton;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0A%0A%0Apublic class northPanel extends JPanel implements ActionListener%7B%0A%09%0A%09TextField inputTextField = new TextField(%22%22);%0A%09JButton textButton = new JButton(%22Click to type text%22);%0A%09//JButton helloWorld = new JButton(%22Hello World!%22);%0A%09//JButton random = new JButton(%22%22);%0A%09JLabel jl = new JLabel(%22North Panel%22);%0A%09%0A%09public northPanel()%7B%0A%09%09setSize(50,50);%0A%09%09setLayout(new GridLayout(3,3));%0A%09%09System.out.println(%22Loading North Panel%22);%0A%09%09jl.setText(%22%5Ct%22 + %22North Panel%22);%0A%09%09add(jl);%0A%09%09add(inputTextField);%0A%09%09add(textButton);%0A%09%7D%0A%09@Override%0A%09public void actionPerformed(ActionEvent e) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09if(e.getActionCommand()==(%22Click to type text%22))%7B%0A%09%09%09setSize(getPreferredSize());%0A%09%09%09Graphics g = getGraphics();%0A%09%09%09textButton.setActionCommand(%22%22);%0A%09%09%09String s = inputTextField.getText();%0A%09%09%09centerPanel.setText(s);%0A%09%09%7D%0A%09%7D%0A%09%0A%7D%0A

Create northPanel.java