Netbeans

change look and feel

  • –laf Metal -J-Dswing.metalTheme=steel
  • –laf javax.swing.plaf.metal.MetalLookAndFeel
  • –laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
  • –laf com.sun.java.swing.plaf.motif.MotifLookAndFeel

If it's a third-party widget, place the JAR in the classpath using the –cp:p <jar_path> start-up option, use jar tf <jar_path>|grep LookAndFeel to get a list of available class name (replace &#8216; with .`.

use nimrod look and feel and themes

download nimrod and themes

run with -J-Dnimrodlf.themeFile=c:/Snow.theme -cp:p c:/nimrodlf.jar –laf com.nilo.plaf.nimrod.NimRODLookAndFeel

my purple theme

nimrodlf.p1=#B3ACCA
nimrodlf.p2=#BDB6D4
nimrodlf.p3=#C7C0DE
nimrodlf.s1=#9A9EAF
nimrodlf.s2=#A4A8B9
nimrodlf.s3=#AEB2C3
nimrodlf.w=#CCCCCC
nimrodlf.b=#1B1B24
nimrodlf.menuOpacity=195
nimrodlf.frameOpacity=180
nimrodlf.font=Envy Code R-PLAIN-12

use napkin look and feel
download napkinlaf

run netbeans with –laf net.sourceforge.napkinlaf.NapkinLookAndFeel -cp:p c:\npkinlaf-1.2.jar

use JTattoo look and feel
download JTattoo

run with –cp:p c:\JTattoo.jar –laf com.jtattoo.plaf.mcwin.McWinLookAndFeel

use substance look and feel
download substance-7.2.jar, including dependencies laf-plugin-7.2.jar, laf-widget-7.2.jar, trident-7.2.jar

run with –cp:p c:\substance-7.2.jar;c:\trident-7.2.jar;c:\laf-widget-7.2.jar;c:\laf-plugin-7.2.jar –laf org.pushingpixels.substance.api.SubstanceLookAndFeel

screenshots: dark, toneddown

use Skin look and feel
note: this look and feel doesn't toggle some boxes, eg. search box (ctrl+f)

download SkinLF (the download link is broken, google it)

download Theme packs

to use themepack, a simple way is copy it to {user.home}/skinlf/themepack.zip or {classpath}/skinlf/themepack.zip eg. on windows: C:\Documents and Settings\your.name\skinlf

run with –cp:p c:\skinlf.jar –laf com.l2fprod.gui.plaf.skin.SkinLookAndFeel

dark theme

install ez-on-da-ice plugin, and pick a dark color scheme from netbeansthemes.com.

for netbeans v7.3, can also use Dark Nimbus Theme

or try this: source

public class Installer extends ModuleInstall {

  @Override
  public void restored() {
    try {
      //set Nimbus Look And Feel
      UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
      //to nod display tabs
      UIManager.put("EditorTabDisplayerUI", "icare.ui.tweak.tab.NoTabsTabDisplayerUI");
      //because Nimbus LAF do not use opaque option, force it to allow painting of custom tab.
      //UIManager.put("TabbedPane.tabsOpaque", true);

      //set Nimbus LAF primary colors
      UIManager.put("control", new Color(114,114,114)); 
      UIManager.put("nimbusBase", new Color(64,64,64)); 
      UIManager.put("nimbusFocus", new Color(191,191,191)); 
      UIManager.put("nimbusLightBackground", new Color(176,176,176)); 
      UIManager.put("nimbusSelectionBackground", new Color(90,130,195)); 
      UIManager.put("text", new Color(0,0,0));

    } catch (ClassNotFoundException ex) {
      Exceptions.printStackTrace(ex);
    } catch (InstantiationException ex) {
      Exceptions.printStackTrace(ex);
    } catch (IllegalAccessException ex) {
      Exceptions.printStackTrace(ex);
    } catch (UnsupportedLookAndFeelException ex) {
      Exceptions.printStackTrace(ex);
    }
  }
}
  1. install Netbeans Plugin Development module
  2. create new netbeans module project, add new Installer/Activator file, paste the code above
  3. import required classes:
    import javax.swing.*;
    import java.awt.Color;
    import org.openide.util.Exceptions;
  1. Clean and build, Create NBM

download the nbm file

color

http://netbeansthemes.com/

nodejs plugin on windows

to run js with nodejs, change cmd from cd ${workingdir} && node ${selectedfile} to node ${workingdir}\${selectedfile}

macro

check Complete List of Macro Keywords to write macro for simple tasks

Search Blog: