问题
How/where I change the theme to the Windows theme in Netbeans 6.9 and 7? Currently it's using the Metal theme.
I've searched, but found nothing.
EDIT: When I edit it's the Windows theme, but when I run the program, it's the Metal theme.
回答1:
Find netbeans.conf file in $NETBEANS_HOME/etc.
Locate the line starting with netbeans_default_options=
.
Add the switch --laf com.sun.java.swing.plaf.windows.WindowsLookAndFeel
to it, before the ending "
.
回答2:
Try this.
回答3:
NetBeans default look and feel is the theme of your Windows operating system. Try changing your Windows theme, look and feel of NetBeans automatically changes.
来源:https://stackoverflow.com/questions/6046375/in-netbeans-6-9-and-7-how-i-change-the-theme-look-and-feel-to-windows-theme