code: @Override
  	protected void preparePaintComponent(final Request request) {
  		super.preparePaintComponent(request);
  
  		if (!isInitialised()) {
  			// Check project versions for Wcomponents-examples and WComponents match
  			String egVersion = Config.getInstance().getString("wcomponents-examples.version");
  			String wcVersion = WebUtilities.getProjectVersion();
  
  			if (egVersion != null && !egVersion.equals(wcVersion)) {
  				String msg = "WComponents-Examples version (" + egVersion + ") does not match WComponents version ("
  						+ wcVersion + ").";
  
  				LOG.error(msg);
  
  				messages.addMessage(new Message(Message.ERROR_MESSAGE, msg));
  			}
  			setInitialised(true);
  		}
  
  	}
docs: Override preparePaint in order to set up the resources on first access by a user.
  
  @param request the request being responded to.