Use of inherited JFrame methods, JFrame object deleted, good prefered size and setLocation