- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    6u10, 7
- 
        b97
- 
        x86
- 
        windows_xp, windows_vista
- 
        Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2182174 | 6u18 | Alexander Potochkin | P3 | Resolved | Fixed | b03 | 
                    FULL PRODUCT VERSION :
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b24)
Java HotSpot(TM) Client VM (build 12.0-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.0.6000]
A DESCRIPTION OF THE PROBLEM :
Tab titles are not shown correctly if HTML titles are used. There is problem in BasicTabbedPaneUI$Handler.updateHtmlViews() - there is htmlViews.insertElementAt(v, index); instead of htmlViews.setElementAt(v, index); so new view is added (to already preallocated vector) - this shifts/breaks others.
REPRODUCIBILITY :
This bug can be reproduced always.
bug reported to NB IDE has 5 duplicates and 4 votes already
http://www.netbeans.org/issues/show_bug.cgi?id=113388
            
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b24)
Java HotSpot(TM) Client VM (build 12.0-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.0.6000]
A DESCRIPTION OF THE PROBLEM :
Tab titles are not shown correctly if HTML titles are used. There is problem in BasicTabbedPaneUI$Handler.updateHtmlViews() - there is htmlViews.insertElementAt(v, index); instead of htmlViews.setElementAt(v, index); so new view is added (to already preallocated vector) - this shifts/breaks others.
REPRODUCIBILITY :
This bug can be reproduced always.
bug reported to NB IDE has 5 duplicates and 4 votes already
http://www.netbeans.org/issues/show_bug.cgi?id=113388
- backported by
- 
                    JDK-2182174 Incorrect tab titles for JTabbedPane if using HTML (BasicTabbedPanelUI problem) -           
- Resolved
 
-         
- relates to
- 
                    JDK-6888130 SwingSet2: Demo is not launching and throwing NPE. -           
- Closed
 
-         
- 
                    JDK-6873554 BasicTabbedPaneUI is creating htmlViews even when html is not used -           
- Closed
 
-         
- 
                    JDK-8161122 [macosx] Aqua Look and Feel: JTabbedPane.setIndexAt(index,title) updates tabs incorrectly if replacing an HTML-formatted title. -           
- Open
 
-