added borderlayout and jpanel with restart button