Results 1 to 2 of 2
- 11-19-2008, 09:01 PM #1Member
- Join Date
- Nov 2008
- Rep Power
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
- 11-23-2008, 03:21 AM #2
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: readabilityIntroduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
- By peiceonly in forum Java ServletReplies: 2Last Post: 04-04-2009, 07:38 AM
- By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:43 PM
- By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:42 PM
- By therock in forum AWT / SwingReplies: 1Last Post: 01-10-2008, 12:22 PM
- By Java Tip in forum Java TipReplies: 1Last Post: 01-03-2008, 11:06 AM