OSDN Git Service

2005-04-19 Roman Kennke <roman@kennke.org>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2005 10:55:12 +0000 (10:55 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2005 10:55:12 +0000 (10:55 +0000)
commit5728906f2f46a1de0d0e90bdfe38acb6d7600814
treebbceff2b3a57d304b3fad36799cebf645405ee04
parent9caa1b6f5f45464674eaa37b3065d5b4cb592961
2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/text/JTextComponent.java
(JTextComponent): Added repaintListener which issues repaint
requests when the underlying document changes.
(setDocument): Adds repaintListener to document when the
document is changed.
* javax/swing/text/DefaultEditorKit.java:
Removed repaint calls on JTextComponent. This is now handled
through a DocumentListener in JTextComponent that repaints
the component when needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98403 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/javax/swing/text/DefaultEditorKit.java
libjava/javax/swing/text/JTextComponent.java