diff options
| author | 2014-08-23 23:43:31 -0400 | |
|---|---|---|
| committer | 2014-08-23 23:43:31 -0400 | |
| commit | 8fa1741b621644ef84a9395a4c395d4ff3a89207 (patch) | |
| tree | 9cc054e2636dd13a32950ad68dba212275d33026 /src/cuchaz/enigma/gui/GuiController.java | |
| parent | added export command with progress bar (diff) | |
| download | enigma-fork-8fa1741b621644ef84a9395a4c395d4ff3a89207.tar.gz enigma-fork-8fa1741b621644ef84a9395a4c395d4ff3a89207.tar.xz enigma-fork-8fa1741b621644ef84a9395a4c395d4ff3a89207.zip | |
moved all classes from the default package into a package called "default" so they can be properly imported by other classes
Diffstat (limited to 'src/cuchaz/enigma/gui/GuiController.java')
| -rw-r--r-- | src/cuchaz/enigma/gui/GuiController.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cuchaz/enigma/gui/GuiController.java b/src/cuchaz/enigma/gui/GuiController.java index cf4f002..90bce52 100644 --- a/src/cuchaz/enigma/gui/GuiController.java +++ b/src/cuchaz/enigma/gui/GuiController.java | |||
| @@ -114,16 +114,19 @@ public class GuiController | |||
| 114 | @Override | 114 | @Override |
| 115 | public void run( ) | 115 | public void run( ) |
| 116 | { | 116 | { |
| 117 | ProgressDialog progress = new ProgressDialog( m_gui.getFrame() ); | ||
| 117 | try | 118 | try |
| 118 | { | 119 | { |
| 119 | ProgressDialog progress = new ProgressDialog( m_gui.getFrame() ); | ||
| 120 | m_deobfuscator.writeSources( dirOut, progress ); | 120 | m_deobfuscator.writeSources( dirOut, progress ); |
| 121 | progress.close(); | ||
| 122 | } | 121 | } |
| 123 | catch( IOException ex ) | 122 | catch( Exception ex ) |
| 124 | { | 123 | { |
| 125 | throw new Error( ex ); | 124 | throw new Error( ex ); |
| 126 | } | 125 | } |
| 126 | finally | ||
| 127 | { | ||
| 128 | progress.close(); | ||
| 129 | } | ||
| 127 | } | 130 | } |
| 128 | }.start(); | 131 | }.start(); |
| 129 | } | 132 | } |