NetBeans IDE 6.0 supports subpixel antialiasing in the editor by default. With older versions of the NetBeans IDE running on older hardware, or in a remote desktop environment, you may wish to disable antialiasing in the editor to make the windows redraw more quickly.
Choose Tools > Options from the menu.
In NetBeans Version 5.0 and later, click the Advanced Option button for advanced settings.
Select Editing > Editor Settings > Text Antialiasing (see Figure 61).
Uncheck the box to disable smoothed fonts.
You need to use JDK 5 or later to be able to activate font smoothing. For subpixel antialiasing you must be using JDK 6 or later.
http://blogs.sun.com/roumen/entry/subpixel_antialiasing_fontrendering_in_editor
You can change the editor’s font size, annotation, and syntax highlighting behavior by selecting Tools > Options > Fonts & Colors from the menu. To change the IDE’s font size globally, including menus and dialogs, use a start-up option.
For comparison, the IDE’s default font size is 13. To set the font size to 18, as shown in Figure 62, you would start the IDE with the following command:
netbeans.exe --fontsize 18
Changing the font size not only is useful for the visually impaired, but using a bigger font also can help increase readability during presentations—for example, when demonstrating application development with a projector.
To keep this option permanently, add it to .netbeans/6.0/etc/netbeans.conf
in your home directory.
If the netbeans.conf
file already exists, make a backup. Then add the switch at the end of the existing netbeans_default_options
line, before the closing quote. The result should look like the following example:
netbeans_default_options="-J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-
Xverify:none -J-Dapple.laf.useScreenMenuBar=true --fontsize 18"
If the netbeans.conf
file or the etc
directory does not exist yet, create it. Open the netbeans.conf
file in a text editor and enter the following line:
netbeans_default_options="--fontsize 18"
Save the file and restart the IDE.
http://blogs.sun.com/roumen/entry/netbeans_quick_tip_3_increasing
Just as with any standard Java application, you can run the NetBeans IDE with a custom look and feel. You specify the --laf
option when starting the IDE on the command line. For example, to make the IDE use the “Metal” look and feel, you type:
netbeans.exe --laf
javax.swing.plaf.metal.MetalLookAndFeel
Look at the documentation; usually you can adjust further options to customize the look.
The Metal look and feel is bundled with the Java platform. To use another look and feel, the JAR with the custom look and feel classes must be on the Java classpath.
To add the JAR to the classpath, additionally supply the path using the --cp:p
option on the command line. The following example uses the Substance look and feel:
netbeans.exe -cp:p substance.jar --laf org.jvnet.substance.SubstanceLookAndFeel
Alternatively, you can copy (or symlink) the JAR into your NetBeans installation’s library directory. For NetBeans IDE 6.1, the library directory is platform8/lib/
.
To keep this option permanently, add it to the .netbeans/6.0/etc/netbeans.conf
file in your home directory. For testing, you can use the Metal look and feel that is already provided in your Java installation.
If the netbeans.conf
file already exists, make a backup. Then add the switch at the end of the existing netbeans_default_options
line, before the closing quote. The result should look like the following example:
netbeans_default_options="-J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m
-J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true --laf javax.swing.plaf.metal.
MetalLookAndFeel"
If the netbeans.conf
file or the etc
directory does not exist yet, create it. Open the netbeans.conf
file in a text editor and enter the following line:
netbeans_default_options="--laf javax.swing.plaf.metal.MetalLookAndFeel"
Save the file and restart the IDE.
http://blogs.sun.com/roumen/entry/how_we_are_solving_some
http://www.netbeans.org/competition/look-and-feel.html
http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html
3.144.202.167