nowa metoda 	public static void addMinMaxText