public void paintComponent(Graphics g) {
Text text = new Text(g, 10, 0);
if (pos == null) {
text.writeAfterNewLine("No working field");
} else {
text.writeAfterNewLine("Information about working field ("
+ pos.x + "," + pos.y + ")");
text.verticalGap(5);
drawHeightLevel(text, pos);
drawVegetation(text, pos);