public Packer fillx ( final double wtx ) { gc . fill = GridBagConstraints . HORIZONTAL ; gc . weightx = wtx ; setConstraints ( comp , gc ) ; return this ; }
Add fill = HORIZONTAL weightx = wtx to the constraints for the current component .