Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
FULL PRODUCT VERSION : java version "1.7.0-ea" Java(TM) SE Runtime Environment (build 1.7.0-ea-b130) Java HotSpot(TM) Client VM (build 21.0-b02, mixed mode, sharing) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP Proffesional 2002 Service pack 3 A DESCRIPTION OF THE PROBLEM : The following code snipped compiles and run perfectly under JDK 1.6.24 Under JDK 1.7.0-ea it issues a Null Pointer Exception at setTitleFont line TitledBorder title; BorderFactory.createTitledBorder(BorderFactory.createRaisedBevelBorder(), "test"); title.setTitleJustification(TitledBorder.LEFT); title.setTitleFont(title.getTitleFont().deriveFont(Font.BOLD)); REPRODUCIBILITY : This bug can be reproduced always. CUSTOMER SUBMITTED WORKAROUND : By the moment, not found any.
|