I cannot figure out how to change the font of a JTextField
I know to use;
But I want to use a custom font I have downloaded.Code:
Font newFont = new Font("DeutscheZierschrift", 0, 16);
I put "DeutscheZierschrift.ttf" in the following folder
but when I try to load it in java, the text does not change.
Anyone know how to get this working?