Esempio n. 1
0
  /**
   * Show the window.
   *
   * @param container - Window of JFrame to show
   */
  private void showPopup(Window container) {
    if (visibleComponent.isEnabled()) {
      Point pt = visibleComponent.getLocationOnScreen();
      pt.translate(0, visibleComponent.getHeight());
      container.setLocation(pt);
      container.toFront();

      ApplicationManager.setCurrentlySelectedField(fieldName);
      if (container instanceof OntologySelector) {
        ((OntologySelector) container).makeVisible();
      } else {
        container.setVisible(true);
        container.requestFocusInWindow();
      }
    }
  }
Esempio n. 2
0
  public void createGUI() {
    createFileChooser();

    ApplicationManager.getCurrentApplicationInstance().hideGlassPane();

    createWestPanel(logo, null);
    createSouthPanel();

    workingProgressScreen = new WorkingScreen();
    workingProgressScreen.createGUI();

    setupErrorPanel();

    status = new JLabel();
    previousPage = new Stack<HistoryComponent>();
    setOpaque(false);

    // create first pane (select files pane!)
    dataEntryEnvironment = new DataEntryEnvironment();
    setDataEntryEnvironment(dataEntryEnvironment);
  }
Esempio n. 3
0
 @Override
 public void setValueAt(Object o, int i, int i2) {
   super.setValueAt(o, i, i2);
   ApplicationManager.setModified(true);
 }