Setting default LAF's JTextField dimensions

76 Views Asked by At

Is it possible to override the LAF's default dimensions of a JTextField with UIDefaults?

1

There are 1 best solutions below

1
On

Maybe the padding, or the insets, but certainly not the raw dimension. That dimension accounts for things like the number of characters the field is supposed to show, and the font.