added JFrame

Now appears on the middle of the screen