summaryrefslogblamecommitdiffstats
path: root/gui/MapShow.java
blob: 8e47897d23139f2faf05a5b3e2ab32fa1e2d5f97 (plain) (tree)





































                                                                                                                  
package gui;

@SuppressWarnings("serial")
public class MapShow extends javax.swing.JFrame {

	private org.jdesktop.swingx.JXMapKit jXMapKit1;

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		java.awt.EventQueue.invokeLater(new Runnable() {

			@Override
			public void run() {
				new MapShow().setVisible(true);

			}
		});

	}

	public MapShow() {
		initComponents();
	}

	private void initComponents() {
		jXMapKit1 = new org.jdesktop.swingx.JXMapKit();
		setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
		jXMapKit1
				.setDefaultProvider(org.jdesktop.swingx.JXMapKit.DefaultProviders.OpenStreetMaps);
		getContentPane().add(jXMapKit1);
		pack();

	}

}