JDK-7130587 : [macosx] Scrolling and painting issues with late invocation of setText
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-01-17
  • Updated: 2012-10-09
  • Resolved: 2012-02-29
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 Availability Release.

To download the current JDK release, click here.
JDK 7
7u4 b11Fixed
Related Reports
Relates :  
Description
Mac OS X 10.7.2 macmini4,1
Run the attached code on Mac. There, setText() for a top TextArea is invoked after setVisible(true) for the Frame. Result is, (1) TextArea is non-scrollable via scrollbars and (2) invisible text is not painted if you scroll with arrows.

Frame is not resizable as in the real world program which is a test prototype; our problem is, many 2D manual tests instructions are thus rendered unreadable.

Comments
SUGGESTED FIX http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk/rev/3fe2884e7f05
26-01-2012

EVALUATION We should invalidate text component, when its state changed and then we should validate its container.
26-01-2012