-
Enhancement
-
Resolution: Fixed
-
P4
-
1.1.5, 1.2.0
-
tiger
-
unknown, x86
-
generic, windows_nt
Currently Choice.insert() is implemented in the shared code by removing
everything after the insertion location, appending the new element and
then appending the old elements again.
This is inefficient for platforms that can do it in the toolkit.
It causes a lot of unnecessary redraw operations.
insert() should be changed to allow the toolkit to do it, if it is able.
everything after the insertion location, appending the new element and
then appending the old elements again.
This is inefficient for platforms that can do it in the toolkit.
It causes a lot of unnecessary redraw operations.
insert() should be changed to allow the toolkit to do it, if it is able.
- duplicates
-
JDK-4099485 Choice.insert(item,index) badly used
-
- Closed
-
- relates to
-
JDK-4115156 problem with awt.Choice.insert()
-
- Closed
-