Exemplo n.º 1
0
  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();
  }
Exemplo n.º 2
0
 public boolean updateData(@NotNull Issue issue) {
   return currentForm.updateData(issue);
 }
Exemplo n.º 3
0
 @Override
 public JComponent getPreferredFocusedComponent() {
   return currentForm.getPreferredFocusedComponent();
 }
Exemplo n.º 4
0
 @Override
 protected void doOKAction() {
   if (currentForm.validateInput(issue)) {
     super.doOKAction();
   }
 }