com.jgoodies.validation.tutorial.formatted
Class FocusLostBehaviorExample

java.lang.Object
  extended by com.jgoodies.validation.tutorial.util.TutorialApplication
      extended by com.jgoodies.validation.tutorial.formatted.FocusLostBehaviorExample

public final class FocusLostBehaviorExample
extends TutorialApplication

Demonstrates the JFormattedTextField in different focus lost behavior modes. To look under the hood of this component, this class exposes the bound properties text, value and editValid.

Version:
$Revision: 1.21 $
Author:
Karsten Lentzsch
See Also:
JFormattedTextField, InputVerifier

Constructor Summary
FocusLostBehaviorExample()
           
 
Method Summary
 JComponent buildPanel()
          Builds and returns a panel with a header row and the sample rows.
static void main(String[] args)
           
protected  void startup(String[] args)
          Starts this application when the application is launched.
 
Methods inherited from class com.jgoodies.validation.tutorial.util.TutorialApplication
createFrame, initializeLookAndFeel, launch, locateOnOpticalScreenCenter, packAndShowOnScreenCenter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusLostBehaviorExample

public FocusLostBehaviorExample()
Method Detail

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 a panel with a header row and the sample rows.

Returns:
the example panel with a header and the sample rows


Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.