setFont()
Set the field's font.
textfield.setFont(font)
Parameters
textfield.setFont(font)
| Parameter | Type | Default | Description |
|---|---|---|---|
font |
Font |
required | The new font, for example Font("Serif", Font.ITALIC, 16). |
Set the field's font.
textfield.setFont(font)
textfield.setFont(font)
| Parameter | Type | Default | Description |
|---|---|---|---|
font |
Font |
required | The new font, for example Font("Serif", Font.ITALIC, 16). |