void () { // Commit data of current step final Step currentStep = mySteps.get(myCurrentStep); LOG.assertTrue(currentStep != null); try { currentStep._commit(false); } catch (final CommitStepException exc) { Messages.showErrorDialog( myContentPanel, exc.getMessage() ); return; } myCurrentStep = getPreviousStep(myCurrentStep); updateStep(JBCardLayout.SwipeDirection.BACKWARD); }