Here is my problem. I wanted to implement an "installation wizard" in Swing. I stumbled upon jWizard framework and I liked the look-and-feel of the wizard. Unfortunately, I have not been able to come up with a solution for validating the contents of the wizardPane when the Next Button is clicked. What ever I seem to do, it continues to the next screen.
I understand that I have to put the validation logic in the function below:
public void applyState() throws InvalidStateException {}
Can anyone show me an example on how to stop the wizard pane from showing the second screen in case of an invalid input?