title: Applying a background image to a GWT Decorator panel
body: <p>Here is my View which is built using a DecoratorPanel.
  How can I modify this to have a background image displayed?  I see a lot of examples with applying CSS styling but my CSS knowledge is limited so if this is the way to go then would anyone have a worked example of how a CSS style is created and applied.</p>
  
  <p>Here is my code
          public class EditContactView extends Composite implements EditContactPresenter.Display {
            private final TextBox firstName;
            private final TextBox lastName;
            private final FlexTable detailsTable;</p>
  
  <pre><code>      public EditContactView() {
          DecoratorPanel contentDetailsDecorator = new DecoratorPanel();
          contentDetailsDecorator.setWidth("18em");
          initWidget(contentDetailsDecorator);
  
          VerticalPanel contentDetailsPanel = new VerticalPanel();
          contentDetailsPanel.setWidth("100%");
  
          detailsTable = new FlexTable();
          detailsTable.setCellSpacing(0);
          detailsTable.setWidth("100%");         
          firstName = new TextBox();
          lastName = new TextBox();
          initDetailsTable();
          contentDetailsPanel.add(detailsTable);
  
          HorizontalPanel menuPanel = new HorizontalPanel();
          contentDetailsPanel.add(menuPanel);
          contentDetailsDecorator.add(contentDetailsPanel);
        }
  
        private void initDetailsTable() {
          detailsTable.setWidget(0, 0, new Label("Firstname"));
          detailsTable.setWidget(0, 1, firstName);
          detailsTable.setWidget(1, 0, new Label("Lastname"));
          detailsTable.setWidget(1, 1, lastName);
          firstName.setFocus(true);
        }
  
        public HasValue&lt;String&gt; getFirstName() {
          return firstName;
        }
  
        public HasValue&lt;String&gt; getLastName() {
          return lastName;
        }
  
        public Widget asWidget() {
          return this;
        }
  
      }
  </code></pre>