-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b26
-
x86
-
windows_xp
A DESCRIPTION OF THE PROBLEM :
Misplaced parenthesis in example code at the top of the page
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
SynthLookAndFeel laf = new SynthLookAndFeel();
laf.load(MyClass.class.getResourceAsStream("laf.xml"),
MyClass.class);
UIManager.setLookAndFeel(laf);
ACTUAL -
SynthLookAndFeel laf = new SynthLookAndFeel();
laf.load(MyClass.class.getResourceAsStream("laf.xml",
MyClass.class));
UIManager.setLookAndFeel(laf);
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/plaf/synth/doc-files/synthFileFormat.html
###@###.### 2005-2-08 19:33:17 GMT
Misplaced parenthesis in example code at the top of the page
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
SynthLookAndFeel laf = new SynthLookAndFeel();
laf.load(MyClass.class.getResourceAsStream("laf.xml"),
MyClass.class);
UIManager.setLookAndFeel(laf);
ACTUAL -
SynthLookAndFeel laf = new SynthLookAndFeel();
laf.load(MyClass.class.getResourceAsStream("laf.xml",
MyClass.class));
UIManager.setLookAndFeel(laf);
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/plaf/synth/doc-files/synthFileFormat.html
###@###.### 2005-2-08 19:33:17 GMT
- relates to
-
JDK-5065459 Typo in Synth package level documentation on how to load a theme
-
- Resolved
-