-
Bug
-
Resolution: Fixed
-
P4
-
pbp_1.0, 1.4.1
-
hopper
-
generic, x86
-
generic, linux_redhat_7.1
-
Fix failed
The changes below were requested in response to spec discussions for MHP.
We should put them into Hopper to support this work.
Also, we should link to the article on painting at
http://java.sun.com/products/jfc/tsc/articles/painting/index.html
from Component.repaint and/or Component.update, Component.paint
>>java.awt.Component
>>==================
>>
>>java.awt.Component.update(Graphics)
>>-----------------------------------
>>
>>Replace the following text:
>>
>>The AWT calls the update method in response to a call to repaint.
>>You can assume that the background is not cleared.
>>
>>by
>>
>>If this component is not a lightweight component, the AWT calls the update
>>method in response to a call to repaint. You can assume that the background is
>>not cleared.
>>
>>java.awt.Component.repaint()
>>----------------------------
>>
>>Replace the following text:
>>
>>This method causes a call to this component's update method as soon as possible.
>>
>>by
>>
>>If this component is a lightweight component, this method causes a call to
>>this component's paint method as soon as possible. Otherwise, this method
>>causes a call to this component's update method as soon as possible.
>>
>>java.awt.Component.repaint(long)
>>--------------------------------
>>
>>Replace the following text:
>>
>>Repaints the component. This will result in a call to update within tm
>>milliseconds.
>>
>>by
>>
>>Repaints the component. If this component is a lightweight component, this
>>will result in a call to paint within tm milliseconds.
>>Otherwise, this will result in a call to update within tm milliseconds.
>>
>>java.awt.Component.repaint(int, int, int, int)
>>----------------------------------------------
>>
>>Replace the following text:
>>
>>This method causes a call to this component's update method as soon as possible.
>>
>>by
>>
>>If this component is a lightweight component, this method causes a call to
>>this component's paint method as soon as possible.
>>Otherwise, this method causes a call to this component's update method as soon
>>as possible.
>>
>>java.awt.Component.repaint(long, int, int, int, int)
>>----------------------------------------------------
>>
>>Replace the following text:
>>
>>This method causes a call to this component's update method.
>>
>>by
>>
>>If this component is a lightweight component, this method causes a call to
>>this component's paint method.
>>Otherwise, this method causes a call to this component's update method.
We should put them into Hopper to support this work.
Also, we should link to the article on painting at
http://java.sun.com/products/jfc/tsc/articles/painting/index.html
from Component.repaint and/or Component.update, Component.paint
>>java.awt.Component
>>==================
>>
>>java.awt.Component.update(Graphics)
>>-----------------------------------
>>
>>Replace the following text:
>>
>>The AWT calls the update method in response to a call to repaint.
>>You can assume that the background is not cleared.
>>
>>by
>>
>>If this component is not a lightweight component, the AWT calls the update
>>method in response to a call to repaint. You can assume that the background is
>>not cleared.
>>
>>java.awt.Component.repaint()
>>----------------------------
>>
>>Replace the following text:
>>
>>This method causes a call to this component's update method as soon as possible.
>>
>>by
>>
>>If this component is a lightweight component, this method causes a call to
>>this component's paint method as soon as possible. Otherwise, this method
>>causes a call to this component's update method as soon as possible.
>>
>>java.awt.Component.repaint(long)
>>--------------------------------
>>
>>Replace the following text:
>>
>>Repaints the component. This will result in a call to update within tm
>>milliseconds.
>>
>>by
>>
>>Repaints the component. If this component is a lightweight component, this
>>will result in a call to paint within tm milliseconds.
>>Otherwise, this will result in a call to update within tm milliseconds.
>>
>>java.awt.Component.repaint(int, int, int, int)
>>----------------------------------------------
>>
>>Replace the following text:
>>
>>This method causes a call to this component's update method as soon as possible.
>>
>>by
>>
>>If this component is a lightweight component, this method causes a call to
>>this component's paint method as soon as possible.
>>Otherwise, this method causes a call to this component's update method as soon
>>as possible.
>>
>>java.awt.Component.repaint(long, int, int, int, int)
>>----------------------------------------------------
>>
>>Replace the following text:
>>
>>This method causes a call to this component's update method.
>>
>>by
>>
>>If this component is a lightweight component, this method causes a call to
>>this component's paint method.
>>Otherwise, this method causes a call to this component's update method.