setSize has little effect for most controls, it's mainly there to enable resizing of entire windows (and might have been better implemented at a different level in the class hierarchy), you're not supposed to control the size in pixels of user interface controls in Java as they're controlled by the layoutmanager.
This is to make sure it looks decent on whichever operating system your application may run on.
jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague