-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6u1
-
x86
-
windows_xp
J2SE Version (please include all output from java -version flag):
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
Does this problem occur on J2SE 1.4.x or 5.0.x or 6.0? Yes / No
6.0 only
Operating System Configuration Information (be specific):
Windows XP SP 2
Hardware Configuration Information (be specific):
Intel-based System
Bug Description:
A multiline JTextArea with setLineWrap(true) and setWrapStyleWord(true)
cannot
hold the full capacity of lines, the last line cannot be entered.
This occurs in Windows L&F only, Metal L&F Works fine.
The following Message ist displayed:
Steps to Reproduce (be specific):
Design a e.g. two line JTextArea with
JTextArea jtaTest =3D new JTextArea();
jtaTest.setWrapStyleWord(true);
jtaTest.setLineWrap(true);
jtaTest.setLimitTextToVisibleArea(true);
jtaTest.setBounds(new Rectangle(370, 316, 340, 35));
jtaTest.setFont(new Font("Courier New", Font.PLAIN, 14));
and try to enter more than one line of text.
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
Does this problem occur on J2SE 1.4.x or 5.0.x or 6.0? Yes / No
6.0 only
Operating System Configuration Information (be specific):
Windows XP SP 2
Hardware Configuration Information (be specific):
Intel-based System
Bug Description:
A multiline JTextArea with setLineWrap(true) and setWrapStyleWord(true)
cannot
hold the full capacity of lines, the last line cannot be entered.
This occurs in Windows L&F only, Metal L&F Works fine.
The following Message ist displayed:
Steps to Reproduce (be specific):
Design a e.g. two line JTextArea with
JTextArea jtaTest =3D new JTextArea();
jtaTest.setWrapStyleWord(true);
jtaTest.setLineWrap(true);
jtaTest.setLimitTextToVisibleArea(true);
jtaTest.setBounds(new Rectangle(370, 316, 340, 35));
jtaTest.setFont(new Font("Courier New", Font.PLAIN, 14));
and try to enter more than one line of text.