repairing MainFrame.java and ShowContactFrame.java