-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b81
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
There are unclosed html tags in the Javadoc for JComponent, causing it to display incorrectly.
Source diffs to fix:
$ diff -wc JComponent.java.orig JComponent.java
*** JComponent.java.orig Fri Jun 3 01:19:10 2005
--- JComponent.java Mon Sep 5 20:47:13 2005
***************
*** 316,322 ****
private static final String NEXT_FOCUS = "nextFocus";
/**
! * <code>JPopupMenu<code> assigned to this component
* and all of its childrens
*/
private JPopupMenu popupMenu;
--- 316,322 ----
private static final String NEXT_FOCUS = "nextFocus";
/**
! * <code>JPopupMenu</code> assigned to this component
* and all of its childrens
*/
private JPopupMenu popupMenu;
***************
*** 1721,1727 ****
* single component.
* <p>
* Although technically you can set the border on any object
! * that inherits from <code>JComponent</ocde>, the look and
* feel implementation of many standard Swing components
* doesn't work well with user-set borders. In general,
* when you want to set a border on a standard Swing
--- 1721,1727 ----
* single component.
* <p>
* Although technically you can set the border on any object
! * that inherits from <code>JComponent</code>, the look and
* feel implementation of many standard Swing components
* doesn't work well with user-set borders. In general,
* when you want to set a border on a standard Swing
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Look at <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html> for example. Scroll down to setBorder() and observe that the text after the word JComponent in the second paragraph stays in the font for the <code> tag, rather than reverting to the text font.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
There are unclosed html tags in the Javadoc for JComponent, causing it to display incorrectly.
Source diffs to fix:
$ diff -wc JComponent.java.orig JComponent.java
*** JComponent.java.orig Fri Jun 3 01:19:10 2005
--- JComponent.java Mon Sep 5 20:47:13 2005
***************
*** 316,322 ****
private static final String NEXT_FOCUS = "nextFocus";
/**
! * <code>JPopupMenu<code> assigned to this component
* and all of its childrens
*/
private JPopupMenu popupMenu;
--- 316,322 ----
private static final String NEXT_FOCUS = "nextFocus";
/**
! * <code>JPopupMenu</code> assigned to this component
* and all of its childrens
*/
private JPopupMenu popupMenu;
***************
*** 1721,1727 ****
* single component.
* <p>
* Although technically you can set the border on any object
! * that inherits from <code>JComponent</ocde>, the look and
* feel implementation of many standard Swing components
* doesn't work well with user-set borders. In general,
* when you want to set a border on a standard Swing
--- 1721,1727 ----
* single component.
* <p>
* Although technically you can set the border on any object
! * that inherits from <code>JComponent</code>, the look and
* feel implementation of many standard Swing components
* doesn't work well with user-set borders. In general,
* when you want to set a border on a standard Swing
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Look at <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html> for example. Scroll down to setBorder() and observe that the text after the word JComponent in the second paragraph stays in the font for the <code> tag, rather than reverting to the text font.
REPRODUCIBILITY :
This bug can be reproduced always.
- relates to
-
JDK-8074042 Unclosed html tag <p> in Javadoc for JComponent.reshape()
-
- Closed
-