-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
x86
-
solaris_2.5
Bug in source javax.swing.text.ParagraphView.java:
Description:
The Attribute javax.swing.text.StyleConstants.FirstLineIndent is read from
the AttributeSet in ParagraphView.setProperiesFromAttributes() :
(line 99) firstLineIndent = (int)StyleConstants.getFirstLineIndent(attr);
but never used in ParagraphView. The existing ParagraphView doesn't
consider this attribute at all.
In my opinion it should by used in ParagraphView.createRow() to set the
insets accordingly. It should be added to the LeftIndent of the first Row
in the Paragraph.
System: WindowsNT
Version : Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
Java HotSpot(TM) Client VM (build 1.3-R, mixed mode)
Location: in deliverd source code (src.jar)
jdk1.3/src/javax/swing/text/ParagraphView.java (@(#)ParagraphView.java 1.75 99/12/04)
Description:
The Attribute javax.swing.text.StyleConstants.FirstLineIndent is read from
the AttributeSet in ParagraphView.setProperiesFromAttributes() :
(line 99) firstLineIndent = (int)StyleConstants.getFirstLineIndent(attr);
but never used in ParagraphView. The existing ParagraphView doesn't
consider this attribute at all.
In my opinion it should by used in ParagraphView.createRow() to set the
insets accordingly. It should be added to the LeftIndent of the first Row
in the Paragraph.
System: WindowsNT
Version : Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
Java HotSpot(TM) Client VM (build 1.3-R, mixed mode)
Location: in deliverd source code (src.jar)
jdk1.3/src/javax/swing/text/ParagraphView.java (@(#)ParagraphView.java 1.75 99/12/04)
- duplicates
-
JDK-4336804 Problems with First Line Indent
-
- Closed
-