A Swing JTAble in Grid Bag layout with try as resource java 7 reading and writing to a file