可是改完后,总是不能成功,为什么呢?
“Hi,
as I wrote this is problem with Windows L&F. Youcan use different one.
NetBeans will not looks natively, but it should work.
Run NetBeans with --laf javax.swing.plaf.metal.MetalLookAndFeelswitch.
Then NetBeans will use Metal L&F. Or add thisoption into the
netbeans_default_options in NetBeans configuration file
(etc/netbeans.conf).
Sure, you can use different L&F, not onlyMetal.
Let me know, if it works.
Regards,
Petr
”
看到了吗,步骤是在netbeans安装目录下,etc/netbeans.conf文件中,netbeans_default_options那行中,在最后加上“--lafjavax.swing.plaf.metal.MetalLookAndFeel”,变成:
netbeans_default_options=" **原来的启动参数** --lafjavax.swing.plaf.metal.MetalLookAndFeel"。
很多人转帖的时候,laf前面都写成了一个“-”,我试了以后总是不行,google到国外的原帖时发现是两个“--”。你也试试吧。当然,作者也说了,换成哪个界面风格都行。不一定是这个。