a.jpg
So, i noticed a little misbehavior in java with all the sizes of jpanel. When i set bounds of jpanel, i.e., setbounds(0, 0, 100, 100), then the first point's (0,0) position is normal, but the second point is not point (100,100), because the size actually includes window decorations and/or shadows - a real mess, dont know what excatly is included, and the last visible point is something like (80,80) ... How can i get window decoration size, or how can i set visible size, not real size ?