public MapPanel()
{
super();
GridLayout layout = new GridLayout(height, width);
setLayout(layout);
}
protected void paintComponent(Graphics g)
{
super.paintComponent(g);
g.setColor(Color.red);
g.drawLine(0, 0, 150, 200);
}