updated GridBag.java with contraints