diff options
author | Michael Koch <konqueror@gmx.de> | 2003-06-24 09:51:28 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-06-24 09:51:28 +0000 |
commit | 92c268fa30154d6979139075e5c1f1e254860405 (patch) | |
tree | 3ce23f97c777cd0a199c44f8ceace3547f5d4863 /libjava | |
parent | a0ea8550734007723696ff2f3d8ce38f1df6078c (diff) | |
download | gcc-92c268fa30154d6979139075e5c1f1e254860405.zip gcc-92c268fa30154d6979139075e5c1f1e254860405.tar.gz gcc-92c268fa30154d6979139075e5c1f1e254860405.tar.bz2 |
JTextComponent.java: New version from classpath.
2003-06-24 Michael Koch <konqueror@gmx.de>
* javax/swing/text/JTextComponent.java:
New version from classpath.
From-SVN: r68410
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/javax/swing/text/JTextComponent.java | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7758e70..1984fd3 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2003-06-24 Michael Koch <konqueror@gmx.de> + * javax/swing/text/JTextComponent.java: + New version from classpath. + +2003-06-24 Michael Koch <konqueror@gmx.de> + * javax/swing/Timer.java, javax/swing/plaf/ActionMapUIResource.java, javax/swing/plaf/ButtonUI.java, diff --git a/libjava/javax/swing/text/JTextComponent.java b/libjava/javax/swing/text/JTextComponent.java index a747e99..e53b20f 100644 --- a/libjava/javax/swing/text/JTextComponent.java +++ b/libjava/javax/swing/text/JTextComponent.java @@ -41,6 +41,7 @@ import java.awt.AWTEvent; import java.awt.Component; import java.awt.Dimension; import java.awt.Image; +import java.awt.Insets; import java.awt.Rectangle; import java.awt.Point; import javax.accessibility.Accessible; @@ -384,6 +385,12 @@ public abstract class JTextComponent extends JComponent return null; } + public Insets getMargin() + { + // FIXME: Not implemented. + return null; + } + public void setText(String text) { getDocument().remove(0,doc.getLength()); |