/** * 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(); } } }
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); }
@Override public void setValueAt(Object o, int i, int i2) { super.setValueAt(o, i, i2); ApplicationManager.setModified(true); }