When I use the getSize method, the returned size is not what I see on screen in pixels. In the attached image, Swing reports dimensions of 640 and 511 (at the bottom) and yet the actual pixel size is 1254 and 1009 (at the top). Why is this? Does swing use a different size unit? is there a way I can convert to the correct pixel size?
#Swing doesn't seem to return the correct size?
1 messages · Page 1 of 1 (latest)