Permalink
Browse files

рефакторинг

  • Loading branch information...
1 parent 2333fd4 commit c42eba800e129b3493e2a04d8c1df1d5ef7088a1 @xupyprmv committed Sep 11, 2011
Showing with 1 addition and 16 deletions.
  1. +1 −16 src/main/java/ricoko/arismorf/MainForm.java
@@ -259,22 +259,7 @@ public String getDescription() {
}//GEN-LAST:event_importARISMOActionPerformed
private void exportMORFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exportMORFActionPerformed
- Thread t = new Thread(new Runnable() {
-
- @Override
- public void run() {
- try {
- ExtractorOsh1.extract(MySQL.getConnection(), logTextArea);
- ExtractorOsh5.extract(MySQL.getConnection(), logTextArea);
- } catch (Exception e) {
- logTextArea.append("Ошибка экспорта: " + e.getMessage() + "\n");
- for (StackTraceElement ste : e.getStackTrace()) {
- logTextArea.append(ste.toString() + "\n");
- }
- }
- }
- });
- t.start();
+ exportMORFForm("all");
}//GEN-LAST:event_exportMORFActionPerformed
private void logTextAreaInputMethodTextChanged(java.awt.event.InputMethodEvent evt) {//GEN-FIRST:event_logTextAreaInputMethodTextChanged

0 comments on commit c42eba8

Please sign in to comment.