From ec8e7860c75e468c3da02d231ac889a1ac223aa9 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:02:33 +0000 Subject: Merge branch 'master' of git@abyss:12PDF-OVER-4.0.git git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@95 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java index d981189d..d9bfe86f 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java @@ -191,6 +191,12 @@ public class MainWindow { getShell().setSize(1024, 768); getShell().setText(Messages.getString("main.title")); //$NON-NLS-1$ + ImageData data = new ImageData(this.getClass().getResourceAsStream("/img/icon.png"));//$NON-NLS-1$ + Image shellicon = new Image(this.shell.getDisplay(), data); + + this.shell.setImage(shellicon); + + getShell().setLayout(new FormLayout()); this.mainbar = new Composite(getShell(), SWT.NONE); -- cgit v1.2.3