private void setupTextField ( ) { searchFld = new CustomTextField ( ) ; GlyphFont fontAwesome = GlyphFontRegistry . font ( "FontAwesome" ) ; Glyph glyph = fontAwesome . create ( FontAwesome . Glyph . SEARCH ) . color ( Color . GRAY ) ; glyph . setPadding ( new Insets ( 0 , 3 , 0 , 5 ) ) ; searchFld . setLeft ( glyph ) ; }
Initializes the TextField and sets the search icon .