Open the application window in platform default location Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
diff --git a/org.eclipse.example.calc/src/org/eclipse/example/calc/internal/ui/Calculator.java b/org.eclipse.example.calc/src/org/eclipse/example/calc/internal/ui/Calculator.java index ff2c20f..0e2a35d 100644 --- a/org.eclipse.example.calc/src/org/eclipse/example/calc/internal/ui/Calculator.java +++ b/org.eclipse.example.calc/src/org/eclipse/example/calc/internal/ui/Calculator.java
@@ -74,6 +74,7 @@ setTitle("Simple Calculator"); Container c = getContentPane(); c.setLayout(new BorderLayout()); + setLocationByPlatform(true); setupDisplay(c); setupButtonsPanel(c);