com.jgoodies.validation.tutorial.basics
Class ComponentFeedbackExample
java.lang.Object
com.jgoodies.validation.tutorial.util.TutorialApplication
com.jgoodies.validation.tutorial.basics.ComponentFeedbackExample
public final class ComponentFeedbackExample
- extends TutorialApplication
Demonstrates different styles how to indicate that a component
contains invalid data:
background changes if empty,
background reflects the severity,
overlaid icons reflect the severity.
- Version:
- $Revision: 1.19 $
- Author:
- Karsten Lentzsch
Method Summary |
JComponent |
buildPanel()
Builds and returns the whole editor with 3 sections
for the different validation times. |
static void |
main(String[] args)
|
protected void |
startup(String[] args)
Starts this application when the application is launched. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentFeedbackExample
public ComponentFeedbackExample()
main
public static void main(String[] args)
startup
protected void startup(String[] args)
- Description copied from class:
TutorialApplication
- Starts this application when the application is launched.
A typical application creates and shows the GUI in this method.
This method runs on the event dispatching thread.
Called by the static launch
method.
- Specified by:
startup
in class TutorialApplication
- Parameters:
args
- optional launch arguments, often the main method's arguments.- See Also:
TutorialApplication.launch(Class, String[])
buildPanel
public JComponent buildPanel()
- Builds and returns the whole editor with 3 sections
for the different validation times.
Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.