Package ca.corbett.forms.demo
Class FormHelpPanel
java.lang.Object
ca.corbett.extras.demo.panels.PanelBuilder
ca.corbett.forms.demo.FormHelpPanel
This demo panel shows how to add helpful informational messages to FormFields.
These show up as little ? icons on the right side of the FormField.
Hovering over them will show the info message in a tooltip.
- Author:
- scorbo2
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.corbett.extras.demo.panels.PanelBuilder
buildFormPanel, buildFormPanel, buildHighlightedHeaderLabel, createSnippetLabel, createSnippetLabel
-
Constructor Details
-
FormHelpPanel
public FormHelpPanel()
-
-
Method Details
-
getTitle
Description copied from class:PanelBuilderReturns a name for this PanelBuilder.- Specified by:
getTitlein classPanelBuilder- Returns:
- A hopefully descriptive name.
-
build
Description copied from class:PanelBuilderBuilds and returns the FormPanel (or technically any JPanel) for this builder.- Specified by:
buildin classPanelBuilder- Returns:
- A populated JPanel (or FormPanel).
-