adding main jframe