I am running on Screen Resolution of (1366 X 768 ), but when I call getSize().getWidth()
and getSize().getHeight()
methods , the result I\'m gettin
The screen resolution and browser window size are not necessarily equal.
Resolution (from wikipedia) is
The display resolution or display modes of a digital television, computer monitor or display device is the number of distinct pixels in each dimension that can be displayed ... "1024 × 768" means the width is 1024 pixels and the height is 768 pixels
While getSize()
is returning the actual browser size.