How do u write getBounds properly i cant find any thing on here or google that can explain it and how to use it properly.

Were is good tutorial on it, or a thread that disscusses how it works??