code: private WPanel createPanelWithText(final String title, final String text) {
  		WPanel panel = new WPanel(WPanel.Type.CHROME);
  		panel.setTitleText(title);
  		WText textComponent = new WText(text);
  		textComponent.setEncodeText(false);
  		panel.add(textComponent);
  
  		return panel;
  	}
docs: Convenience method to create a WPanel with the given title and text.
  
  @param title the panel title.
  @param text the panel text.
  @return a new WPanel with the given title and text.