OmegaT の背景に画像を表示します。
エラーのロギング引数違いを修正
| @@ -16,10 +16,7 @@ | ||
| 16 | 16 | |
| 17 | 17 | package jp.sourceforge.users.yutang.omegat.plugin.moenizer; |
| 18 | 18 | |
| 19 | -import java.awt.image.BufferedImage; | |
| 20 | -import java.util.concurrent.TimeUnit; | |
| 21 | 19 | import javax.swing.SwingUtilities; |
| 22 | -import javax.swing.SwingWorker; | |
| 23 | 20 | import org.omegat.core.Core; |
| 24 | 21 | import org.omegat.core.CoreEvents; |
| 25 | 22 | import org.omegat.core.events.IApplicationEventListener; |
| @@ -49,7 +46,7 @@ | ||
| 49 | 46 | } |
| 50 | 47 | } catch (Throwable ex) { |
| 51 | 48 | String msg = ex.getMessage(); |
| 52 | - Log.logErrorRB(msg); | |
| 49 | + Log.logErrorRB("LD_ERROR", msg); | |
| 53 | 50 | Core.pluginLoadingError(msg); |
| 54 | 51 | } |
| 55 | 52 | } |
| @@ -76,7 +73,7 @@ | ||
| 76 | 73 | } |
| 77 | 74 | }); |
| 78 | 75 | //CoreEvents.unregisterApplicationEventListener(this); // ここで発行すると、スレッドエラーになるので注意 |
| 79 | - } catch(Exception e) { | |
| 76 | + } catch (Exception e) { | |
| 80 | 77 | Log.log("Error raised at " + this.getClass().getCanonicalName() + ".onApplicationStartup()\n" + e); |
| 81 | 78 | e.printStackTrace(); |
| 82 | 79 | } |