Hi Erik,
src/share/classes/sun/tools/jconsole/VMPanel.java
156 if (insets == null) {
157 insets = (Insets) insets.clone();
158 insets.right += connectedIcon24.getIconWidth() + 8;
159 UIManager.put("TabbedPane.tabAreaInsets", insets);
160 }
Should Line 156 be:
if (insets != null) { ?
Shanliang
Erik Gahlin wrote:
Please review a small change.
Description:
Start JConsole from the commandline using the Nimbus look & feel:
jconsole
-J-Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
The main window opens, but when creating the 'Connect to..' dialog, we
get a NPE:
Bug:
http://monaco.us.oracle.com/detail.jsf?cr=6800801
Webrev:
http://cr.openjdk.java.net/~egahlin/6800801/
Testing:
Clicked around in GUI with Nimbus L&F
A sponsor is needed.
Thanks
Erik