I have some probling displaying my map.
When running station.getStops() I get an array with x-coordinates in stops[][1] and y-coordinates in [][2].
I want to learn how to do this with awt.Graphic and fillRect, but now i just want this to work so that I can see if I got the Class Station (gets coordinates from Internet and formats these for my program) and if my vision of the program right.

If you have any thoughts about this strange program :), just ask...

Java Code:
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.text.*;

public class Map extends JPanel {
	private int[][] stops;
	private JLabel[] pixel;
	
	public Map() {
		setLayout(new GridLayout(2000, 2000));
		setBackground(Color.YELLOW);
		setSize(1550,850);
		setVisible(true);
		pixel = new JLabel[4000];
		Station stations = new Station();
		stations.downloadStops();
		stops = stations.getStops();
		int[] outData = new int[40000];
		int cordX1, cordY1;
		int cordX2, cordY2;
		for(int k=0;k<stops.length;k++) {
			cordX1 = stops[k][1];
			cordY1 = stops[k][2];
			cordX2 = (cordX1-6300000)/10000;
			cordY2 = (cordY1-1100000)/10000;
			outData[cordX2 * 1000 + cordY2] = 1;
		}//for
		for (int i=0; i<4000; i++) {
			add(pixel[i] = new JLabel());
			if(outData[i] == 1) {
				setBackground(Color.RED);
				setVisible(true);
				setOpaque(true);
			}//if
		}//for
	}//konstruktor
}//Map