Add JMenuBar and JFrame as prototype