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