United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7130587 [macosx] Scrolling and painting issues with late invocation of setText
JDK-7130587 : [macosx] Scrolling and painting issues with late invocation of setText

Details
Type:
Bug
Submit Date:
2012-01-17
Status:
Closed
Updated Date:
2012-10-09
Project Name:
JDK
Resolved Date:
2012-02-29
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u4 (b11)

Related Reports
Relates:

Sub Tasks

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
                                     
2012-01-26
EVALUATION

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



Hardware and Software, Engineered to Work Together