Changing theme in Apache Netbeans 9.0

Updated 4/11/19:

Based on a comment from @superbiji below, Darcula + Norway Today works fine with NetBeans 11.0.


Updated 2/7/19:

Note that the answer below applies only to NetBeans 9.0. The situation is a little different on NetBeans 10.0 where the Dark Look and Feel plugin (themes "Dark Metal" and "Dark Nimbus") also worked fine. See Projects, Files, Services, Navigator color background.


I tried to download then manually install those two plugins on NetBeans 9.0, but it didn't work for me:

  • Download the plugins as zip files, and unzip them.
  • Tools > Plugins > click the Downloaded tab > click Add Plugins...
  • The Add Plugins dialog opens, but it requires you to select a jar or nbm file, and no files of those types exist in the downloaded zip files.

However, there is an alternative approach that works for Darcula (but not for Dark Look And Feel Themes). It is a simple two step process:

  1. Make the Darcula plugin available.
  2. Automatically install the plugin, just as you would on NetBeans 8.2.

To make the plugin available:

  • Tools > Plugins > Settings tab > Click the Add button.
  • In the Update Center Customizer dialog that opens:

    • Enter some descriptive value in the Name field such as NetBeans 8.2 plugins
    • Enter http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz in the URL field.
    • Click OK to make the plugins associated with that URL available for installation.

      updateCustomizer

  • Now click the Available Plugins tab. You should see a lot of new entries, including one for Darcula LAF for NetBeans:

    installDarcula

  • Check that entry and click Install, just as you would on NetBeans 8.2.

NetBeans 9.0 should restart using the Darcula theme:

darculaInUse

Notes:

  • I don't think this approach is formally supported by NetBeans or the plugin author, but it works fine.
  • To customize Darcula settings: Tools > Options > Appearance > click the Darcula Look and Feel tab.
  • To switch from Darcula to one of the built in NetBeans look and feel options: Tools > Options > Appearance > click the Look and Feel tab > select an entry from the Preferred look and feel drop list.

I can recommend you to check NetBeans Themes website. It allows you to design and download your own themes.

Twilight theme is a good example: Twilight