Results 1 to 2 of 2
  1. #1
    calexander is offline Member
    Join Date
    Nov 2008
    Rep Power

    Default Multiple InputVerifiers

    Ladies and Gentlemen,

    I am in the process of developing my first Swing application using Netbeans 6.1 (a port from .NET WinForms). Documentation I have accessed thus far does not clearly explain how to:

    1. Perform multiple field input verifications (inputVerifiers) when clicking an "Apply" button (ActionPerformed event). I don't see a "verifyChildComponentInputs()" method in parental components, such as a JPanel, or one associated with a jButton/jxHyperlink that would implicitly or explicitly call all inputVerifiers.
    2. Can inputVerifiers be used across Swing and JSF application types (verification framework?). I ask so that I don't have to recode inputVerifiers for the same input fields (i.e. telephone number) I plan to use in Swing and JSF authored apps.

    Any assistance you can provide would be greatly appreciated.


    Last edited by calexander; 11-20-2008 at 01:55 AM. Reason: Simplified message further

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Java has a remarkable Object inheritance dispatching which I have never tried to grasp in detail. We have a plethora of Masters on the subject who will probably sieze on this as perfection of canon. That's #1.

    For #2 I suggest writing your own verifiy routine, see perhaps TernaryTree for a good study reference.
    Last edited by Nicholas Jordan; 11-23-2008 at 03:22 AM. Reason: readability
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. Image Verification
    By peiceonly in forum Java Servlet
    Replies: 2
    Last Post: 04-04-2009, 08:38 AM
  2. Input Verification Dialog Demo
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 08:43 PM
  3. Input Verification Demo
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 08:42 PM
  4. non web based image verification integration
    By therock in forum AWT / Swing
    Replies: 1
    Last Post: 01-10-2008, 12:22 PM
  5. Multiple listeners per event
    By Java Tip in forum Java Tip
    Replies: 1
    Last Post: 01-03-2008, 11:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts