Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4143156
Votes 0
Synopsis Support a "replace mode" for JTextField and JAreaField
Category java:classes_swing
Reported Against 1.2fcs , 1.2beta3 , swing1.0.2
Release Fixed
State 11-Closed, duplicate of 4290529, request for enhancement
Priority: 4-Low
Related Bugs 4140077 , 4290529
Submit Date 27-MAY-1998
Description




In a JTextField and JTextArea currently all text typed in is inserted. The components should also support a replace mode. 
The user should be able to toggle between the insert and replace mode with the insert key. The thickness of the caret 
should indicate the mode.
(Review ID: 32311)
======================================================================
Work Around
N/A
Evaluation
Reassigning to classes_swing.
  xxxxx@xxxxx   1998-05-27

In merlin we added support for JFormattedTextField. Along with this we added DocumentFilter, which allows you to change what will be inserted so that it is rather trivial to create a replace mode, closing as a duplicate.
  xxxxx@xxxxx   2001-10-10
Comments
  
  Include a link with my name & email   

Submitted On 28-SEP-1999
kuhse
In my personal opinion, the insert/overwrite
mode is one of the most useless things in
PC history. I've never used it - however,
MANY MANY times I became annoyed when my
text was overwritten just because I had
accidentally hit the 'insert' key without
noticing - probably while trying to press
the 'home' key. So if you ask _me_, which
of course you don't have to, I'd say:
don't add this feature.



PLEASE NOTE: JDK6 is formerly known as Project Mustang