It is true statement. Due to the occupancy of the space by the JFrame’s title bar and borders, some of it is unused. After setting the size with the help of setSize(a,b) but the dimensions of the JFrame's would be less than a and b as the area is allotted to title bar and borders.