The information in this article applies to:
SYMPTOMSWhen you use the Windows Foundation Classes for Java PaintEvent class, the member variable called clipRect erroneously returns the lower-right corner of the clip area instead of the width and height of the clip area in its member variables "width" and "height". RESOLUTIONMake sure that any code that uses clipRect also uses the member variables named "width" and "height" as if they were named "right" and "bottom", respectively. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
RESULT: The output for a form that is 300 pixels wide and 275 pixels high should be like the following:
If the entire client area of the same form is repainted, you should see the following:
© Microsoft Corporation 1999, All Rights Reserved. Additional query words: PaintEvent clipRect width height right bottom
Keywords : kbSDKJava kbVJ600bug kbWFC kbGrpJava |
Last Reviewed: March 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |