summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-08 17:55:24 +0200
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-08 17:56:10 +0200
commitcccb39f0ec5958bb84fec43ac36b5ec3620ea73f (patch)
tree4bfbb46dfa64a0c6af6647ffdaa5ea378a328785
parentf86eb9c24736c1a04a59c50f9ca1db6fa33897f9 (diff)
downloadpdf-over-cccb39f0ec5958bb84fec43ac36b5ec3620ea73f.tar.gz
pdf-over-cccb39f0ec5958bb84fec43ac36b5ec3620ea73f.tar.bz2
pdf-over-cccb39f0ec5958bb84fec43ac36b5ec3620ea73f.zip
Log SWT version
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java3
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java
index d4a76456..0e1af294 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java
@@ -19,6 +19,7 @@ package at.asit.pdfover.gui;
import java.io.File;
import org.apache.log4j.PropertyConfigurator;
+import org.eclipse.swt.SWT;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -54,6 +55,8 @@ public class DeveloperMain {
PropertyConfigurator.configureAndWatch(log4j.getAbsolutePath());
}
+ log.debug("SWT version: " + SWT.getVersion()); //$NON-NLS-1$
+
StringBuilder sb = new StringBuilder();
for(int i = 0; i < args.length; i++) {
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java
index b6f7fdc2..5d634f39 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java
@@ -21,6 +21,7 @@ import java.io.File;
import javax.swing.JOptionPane;
import org.apache.log4j.PropertyConfigurator;
+import org.eclipse.swt.SWT;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -65,6 +66,8 @@ public class Main {
PropertyConfigurator.configureAndWatch(log4j.getAbsolutePath());
}
+ log.debug("SWT version: " + SWT.getVersion()); //$NON-NLS-1$
+
StateMachineImpl stateMachine = new StateMachineImpl(args);
log.debug("Starting stateMachine ..."); //$NON-NLS-1$