The display size of the buttons depends on the Layout manager you are using. Some layout managers increase the size of components as the screen area grows others don't. FlowLayout for instance sizes the buttons at their preferred size.