public void show(@NotNull Issue issue) {
    this.issue = issue;
    currentForm = (create) ? createMainForm : updateTabbedPane;
    currentForm.updateUI(issue.getReview(), issue, true);

    cardLayout.show(centerPanel, currentForm.getClass().getName());

    super.show();
  }
 public boolean updateData(@NotNull Issue issue) {
   return currentForm.updateData(issue);
 }
 @Override
 public JComponent getPreferredFocusedComponent() {
   return currentForm.getPreferredFocusedComponent();
 }
 @Override
 protected void doOKAction() {
   if (currentForm.validateInput(issue)) {
     super.doOKAction();
   }
 }