I assume that the Point type you are using is java.awt.Point. If so, the x and y coordinates are stored as ints.
Although you can provide doubles to the overloaded setLocation method, these values are "rounded to integer values" (to quote the API). So when you get them back using getX and getY, you will get double representations of the rounded ints.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org