public LoadingFrame()
	{
		try {
                setIconImage(ImageIO.read(new File("assets/Icon48.png")));
                
            } catch (IOException ex) {
                Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, ex);
            }
		setTitle("Map of Denmark");
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setResizable(false);
		requestFocus();
		setLocationRelativeTo(null);
		setUndecorated(true);
		MigLayout migMainLayout = new MigLayout("", "10[center]10[center]10", "10[center]10[center]10");

		mainContainer = new JPanel(migMainLayout);

		getContentPane().add(mainContainer);

		messageField = new AAJLabel("Step 1/4 - Loading nodes...");
		messageField.setFont(FontLoader.getFontWithSize("Roboto-Bold", 14f));
	
		loadingBar = new loadingComponent();

		mainContainer.add(messageField, "cell 0 0");
		mainContainer.add(loadingBar, "cell 0 1, width 501:501:501, height 51:51:51");

		
		loadingBar.addMouseMotionListener(this);
		revalidate();
		repaint();
		pack();
        setLocationRelativeTo(null);
		setVisible(true);
	}