I am looking for a solution to make TextField Object gutter less such that the getBounds() and getColorBounds() give the same rectangle. In short the Rectangle returned by getBounds() must start from first character's left-most pixel and end at last character's right-most pixel.