summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-24 22:49:26 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-24 22:49:26 +0000
commita3b7f5f343f4970dd2f5696aac60f9a25606a6bd (patch)
tree42dc0f586ff40b5667a0d7d4a0cefb24cf6165cb /libjava
parente19c4b9757206ea2b69269f223937110a7870e6f (diff)
downloadppe42-gcc-a3b7f5f343f4970dd2f5696aac60f9a25606a6bd.tar.gz
ppe42-gcc-a3b7f5f343f4970dd2f5696aac60f9a25606a6bd.zip
* java/awt/TextComponent.java (TextComponent): Editable by
default. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog3
-rw-r--r--libjava/java/awt/TextComponent.java1
2 files changed, 4 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 22982aaf9d2..f1427fca874 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,8 @@
2002-03-24 Tom Tromey <tromey@redhat.com>
+ * java/awt/TextComponent.java (TextComponent): Editable by
+ default.
+
* java/awt/MenuItem.java (eventMask): No longer private.
* java/awt/Button.java (dispatchEventImpl): Only dispatch to
superclass if we didn't handle event.
diff --git a/libjava/java/awt/TextComponent.java b/libjava/java/awt/TextComponent.java
index 4802f47db84..5ba80edc1da 100644
--- a/libjava/java/awt/TextComponent.java
+++ b/libjava/java/awt/TextComponent.java
@@ -97,6 +97,7 @@ protected transient TextListener textListener;
TextComponent(String text)
{
this.text = text;
+ this.editable = true;
}
/*************************************************************************/
OpenPOWER on IntegriCloud