Fix for issue 3590 (Changes in java arguments only apply when the edited cell loses focus.)
Call the method stopCellEditing when the user clicks on OK in the Java properties table or on 'Save' on the table view of the LDAP entry browser editor.
| | |
| | | */ |
| | | public void okClicked() |
| | | { |
| | | editor.stopCellEditing(); |
| | | |
| | | ArrayList<Message> errors = new ArrayList<Message>(); |
| | | String f = javaHome.getText().trim(); |
| | | if (f.length() > 0) |
| | |
| | | */ |
| | | public Entry getEntry() throws OpenDsException |
| | | { |
| | | if (SwingUtilities.isEventDispatchThread()) |
| | | { |
| | | editor.stopCellEditing(); |
| | | } |
| | | else |
| | | { |
| | | try |
| | | { |
| | | SwingUtilities.invokeAndWait(new Runnable() |
| | | { |
| | | public void run() |
| | | { |
| | | editor.stopCellEditing(); |
| | | } |
| | | }); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | } |
| | | Entry entry = null; |
| | | LDIFImportConfig ldifImportConfig = null; |
| | | try |