Skip to content
Permalink
Browse files

Samples improvements

  • Loading branch information...
devemux86 committed Mar 8, 2019
1 parent f0b550d commit 923409a7a02d9fbf0862284938b72c794d5df174
Showing with 1 addition and 2 deletions.
  1. +1 −2 mapsforge-samples-awt/src/main/java/org/mapsforge/samples/awt/Samples.java
@@ -48,7 +48,6 @@
import org.mapsforge.map.reader.MapFile;
import org.mapsforge.map.rendertheme.InternalRenderTheme;

import java.awt.Dimension;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;
@@ -103,7 +102,7 @@ public static void main(String[] args) {
frame.setTitle("Mapsforge Samples");
frame.add(mapView);
frame.pack();
frame.setSize(new Dimension(800, 600));
frame.setSize(1024, 768);
frame.setLocationRelativeTo(null);
frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
frame.addWindowListener(new WindowAdapter() {

0 comments on commit 923409a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.