-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6u16
-
x86
-
windows_xp
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Client: Microsoft Windows XP [Version 5.1.2600]
Bug Description:
RFE: Add missing image icon to Nimbus
Have tested the 5 Look and Feels installed on my computer (by uncommenting each of them one by one).
All of them have a missing image icon except for Nimbus.
import static javax.swing.JFrame.*;
import javax.swing.*;
public class Test {
public static void main(String[] args) throws Exception {
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel");
JFrame frame = new JFrame();
frame.add(new JLabel("<HTML><IMG src='test.jpg'>"));
frame.pack();
frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
frame.setVisible(true);
}
}
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Client: Microsoft Windows XP [Version 5.1.2600]
Bug Description:
RFE: Add missing image icon to Nimbus
Have tested the 5 Look and Feels installed on my computer (by uncommenting each of them one by one).
All of them have a missing image icon except for Nimbus.
import static javax.swing.JFrame.*;
import javax.swing.*;
public class Test {
public static void main(String[] args) throws Exception {
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel");
JFrame frame = new JFrame();
frame.add(new JLabel("<HTML><IMG src='test.jpg'>"));
frame.pack();
frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
frame.setVisible(true);
}
}