Search code examples
javanetbeansfonts

How can I install fonts to NetBeans in the properties?


I would like to know how I can install new sources to the fonts properties in netbeans

Here I leave an image: https://i.sstatic.net/FH1HG.jpg


Solution

  • Edit netbeans.conf file which is located in C:\Program Files\NetBeans8.2\etc\netbeans.conf

    Search for netbeans_default_options in netbeans.conf file

    Add -J-Dawt.useSystemAAFontSettings=on to the end of the netbeans_default_options

    enter image description here

    Now you can use system fonts in Netbeans. So change your font in Tools > Options > Fonts & Colors

    enter image description here