From cccb39f0ec5958bb84fec43ac36b5ec3620ea73f Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Thu, 8 Oct 2015 17:55:24 +0200 Subject: Log SWT version --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java | 3 +++ pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java | 3 +++ 2 files changed, 6 insertions(+) (limited to 'pdf-over-gui/src/main') 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$ -- cgit v1.2.3