code: public static void setFilterBoxStyle(TextField searchBox) {
  
          searchBox.setIcon(FontOpenCms.FILTER);
  
          searchBox.setPlaceholder(
              org.opencms.ui.apps.Messages.get().getBundle(UI.getCurrent().getLocale()).key(
                  org.opencms.ui.apps.Messages.GUI_EXPLORER_FILTER_0));
          searchBox.addStyleName(ValoTheme.TEXTFIELD_INLINE_ICON);
      }
docs: Configures a text field to look like a filter box for a table.
  
  @param searchBox the text field to configure