Added support for gridbaglayout