adding and working in with JFrame insertion