1 |
|
2005-10-13 Roman Kennke <kennke@aicas.com> |
2 |
|
|
3 |
|
* javax/swing/text/JTextComponent.java |
4 |
|
(replaceSelection): Removed debug statement. |
5 |
|
* javax/swing/text/PlainView.java |
6 |
|
(updateDamage): Removed unnecessary repaint call. |
7 |
|
(damageLineRange): Trigger repaint over the whole width of the |
8 |
|
text component at the requested line range. Otherwise we might |
9 |
|
not clear deleted text. |
10 |
|
* javax/swing/plaf/basic/BasicTextUI.java |
11 |
|
(DocumentHandler.changedUpdate): Use visibleEditorRect as |
12 |
|
initial allocation. |
13 |
|
(DocumentHandler.removeUpdate): Use visibleEditorRect as |
14 |
|
initial allocation. |
15 |
|
(DocumentHandler.insertUpdate): Use visibleEditorRect as |
16 |
|
initial allocation. |
17 |
|
(getVisibleEditorRect): If component width and height values are |
18 |
|
invalid (==uninitialized), return a Rectangle of (0,0,0,0) instead |
19 |
|
of null. |
20 |
|
|
21 |
2005-10-13 David Gilbert <david.gilbert@object-refinery.com> |
2005-10-13 David Gilbert <david.gilbert@object-refinery.com> |
22 |
|
|
23 |
* javax/swing/plaf/metal/MetalLookAndFeel.java |
* javax/swing/plaf/metal/MetalLookAndFeel.java |
44 |
|
|
45 |
2005-10-12 Roman Kennke <kennke@aicas.com> |
2005-10-12 Roman Kennke <kennke@aicas.com> |
46 |
|
|
47 |
|
* javax/swing/JComponent.java |
48 |
|
(paintImmediately): Find the paint root more cleverly, instead of |
49 |
|
going up to the root. |
50 |
|
(findPaintRoot): New helper method. |
51 |
|
(findOverlapFreeParent): New helper method. |
52 |
|
(findOpaqueParent): New helper method. |
53 |
|
* javax/swing/RepaintManager.java |
54 |
|
(addDirtyRegion): Collapse overlapping dirty regions into single |
55 |
|
regions. |
56 |
|
(paintDirtyRegions): Simple iterator over dirty regions and |
57 |
|
paint them. The optimizations are done in JComponent and |
58 |
|
addDirtyRegion. |
59 |
|
|
60 |
|
2005-10-12 Roman Kennke <kennke@aicas.com> |
61 |
|
|
62 |
* javax/swing/ScrollPaneLayout.java |
* javax/swing/ScrollPaneLayout.java |
63 |
(minimumLayoutSize): Added checks to avoid NPEs. |
(minimumLayoutSize): Added checks to avoid NPEs. |
64 |
|
|