diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:04:38 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:04:38 +0000 |
commit | 06a6949fd847fdbf11991346757eae9ebc61208a (patch) | |
tree | 0ff03dc650612189ae6fc10744cb3fcefad26e13 | |
parent | 127ce4575f2b36c64b3ae0c223f9061c038644e4 (diff) | |
download | pdf-over-06a6949fd847fdbf11991346757eae9ebc61208a.tar.gz pdf-over-06a6949fd847fdbf11991346757eae9ebc61208a.tar.bz2 pdf-over-06a6949fd847fdbf11991346757eae9ebc61208a.zip |
Use getDisplay instead of default
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@115 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java index 9528dd1e..922e278b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java @@ -178,7 +178,7 @@ public class PositioningComposite extends StateComposite { void showPage(int page) { this.currentPage = page; - Display.getDefault().syncExec(new Runnable() { + this.getDisplay().syncExec(new Runnable() { @Override public void run() { PositioningComposite.this.scrollbar.setSelection(PositioningComposite.this.currentPage); |