This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Now my scenario is when i do data validation, navigation to other screens should not be allowed unless valid input is entered in these textfields.
My window has Jtabbedpane which has 3 tabs. Above mentioned Jformattedtextfields is available in one of the tabs. If these textfields has: Duplicate value, empty or invalid data, validation is done and message is displayed.
If one of the text field has duplicate value/empty/invalid data and cursor is still available in the textfield and one of the tab panel is selected, then the validation message is displayed on that tabbed panel.
I need to restrict navigation and display this validation message on the panel where these textfields are available.