GridConstraints () { GridConstraints result = new GridConstraints(); result.setRow(1); result.setColumn(0); result.setRowSpan(1); result.setColSpan(2); result.setAnchor(GridConstraints.ANCHOR_NORTHWEST); result.setUseParentLayout(true); return result; }