Added Jframe code to Main