question: private JButton addButton ( String text , Container container , float alignment ) { JButton button = new JButton ( text ) ; button . setAlignmentX ( alignment ) ; container . add ( button ) ; return button ; }
target:  Adds a preconfigured JButton to the specified container using the specified alignment constraint. Does not modify the button's border.