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
This commit is contained in:
Michael Koch 2003-06-24 09:51:28 +00:00 committed by Michael Koch
parent a0ea855073
commit 92c268fa30
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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,

View File

@ -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());