JDK-8000734 : JScrollBar does not show up even if there are enough lebgth of textstring in textField
  • Type: Backport
  • Backport of: JDK-7107099
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2012-10-10
  • Updated: 2012-10-15
  • Resolved: 2012-10-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 8
6u37 b31Fixed 8Resolved
Description
When text filed is re-freshed, JScrollBar does not show up even if there are enough lebgth of textstring in textField

CONFIGURATION:
JDK: 7/6u26/5u30

REPRODUCE:
1. Compile and invoke the attached test cae(Test.java)
2. Click the button "change text"

EXPECTED: 
attached "good.jpg"

ACTUAL:
attahched "bad.jpg"(ScrollBar does not show up)

FREQUENCT : 
This always occurs.