Commits

Alireza Savand committed 610a0f4

HelpWindow added

  • Participants
  • Parent commits 675338c

Comments (0)

Files changed (1)

File src/com/example/advanceaddressbook/ui/HelpWindow.java

+package com.example.advanceaddressbook.ui;
+
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Window;
+
+public class HelpWindow extends Window {
+	private static final String HELP_HTML_SNIPPET = "This is "
+            + "an application built during <strong><a href=\""
+            + "http://dev.vaadin.com/\">Vaadin</a></strong> "
+            + "tutorial. Hopefully it doesn't need any real help.";
+
+	public HelpWindow() {
+		setCaption("Advance Address Book help");
+		addComponent(new Label(HELP_HTML_SNIPPET, Label.CONTENT_XHTML));
+	}
+}