From 6fe666e34623c694591c1789ae15b582f7815e59 Mon Sep 17 00:00:00 2001 From: urmi-21 Date: Thu, 20 Feb 2020 12:05:49 -0600 Subject: [PATCH] Update pom to use sun.activation --- pom.xml | 5 +++++ releasenotes.txt | 2 ++ src/edu/iastate/metnet/metaomgraph/MetaOmGraph.java | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 266ee4ce..fc0dc33e 100644 --- a/pom.xml +++ b/pom.xml @@ -93,5 +93,10 @@ javax.mail-api 1.6.0 + + com.sun.activation + javax.activation + 1.2.0 + \ No newline at end of file diff --git a/releasenotes.txt b/releasenotes.txt index 7e185004..a2468aae 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -2,6 +2,8 @@ MOG 1.8.1 Release date: TBD Convert to maven project Remove unwanted packages Removed arrayexpress projects +Fix bug; showed incorrect number of metadata file rows. +Make OpenJDK compatible Refactor MOG 1.8.0 Release date: 10/28/2019 diff --git a/src/edu/iastate/metnet/metaomgraph/MetaOmGraph.java b/src/edu/iastate/metnet/metaomgraph/MetaOmGraph.java index 9d05cffa..1857305c 100644 --- a/src/edu/iastate/metnet/metaomgraph/MetaOmGraph.java +++ b/src/edu/iastate/metnet/metaomgraph/MetaOmGraph.java @@ -726,10 +726,12 @@ public static void init(boolean useBuffer) { initThemes(); setCurrentTheme("light"); mainWindow = new JFrame("MetaOmGraph"); - + + //urmi + ///////////////enable debug mode////////////////// ExceptionHandler.getInstance(mainWindow).setUseBuffer(useBuffer); // set setUseBuffer(false) to print to console - // ExceptionHandler.getInstance(mainWindow).setUseBuffer(false); + //ExceptionHandler.getInstance(mainWindow).setUseBuffer(false); Thread.setDefaultUncaughtExceptionHandler(ExceptionHandler.getInstance(mainWindow)); desktop = new JDesktopPane(); desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);