For Example if I Create array of object And assing data...
short version of problem. array[0].init(\"ce\", 2) array[1].init(\"nh\", 2)
Output... Of array[0] Will
The fields in your ulamek class are static's
ulamek
static
It means that they belong to the ulamek Type, and not it's instances (objects).
Type
instances
Alter it this way:
class ulamek { public String ch_v; public int x = 0, y = -5, y_max = 325; ...
And it should work.