private void setUpUtilBar ( ) { utilBar . setLayout ( new ListLayout ( ListLayout . Type . FLAT , ListLayout . Alignment . RIGHT , ListLayout . Separator . NONE , false ) ) ; WTextField selectOther = new WTextField ( ) ; selectOther . setToolTip ( "Enter text." ) ; utilBar . add ( selectOther ) ; utilBar . add ( new WButton ( "Go" ) ) ; utilBar . add ( new WButton ( "A" ) ) ; utilBar . add ( new WButton ( "B" ) ) ; utilBar . add ( new WButton ( "C" ) ) ; utilBar . setVisible ( false ) ; }
Add some UI to a utility bar type structure .