-
Enhancement
-
Resolution: Not an Issue
-
P3
-
None
-
1.1.8
-
generic
-
generic
Name: pvC76716 Date: 05/17/99
This is came from HotJava. This is common to have a text area, that supports
auto wrapping. Now, there is no way to implement this using standart
awt classes. And no any possible hook can be used to make text wraps.
We think that's bad. Writing the corresponding class is a complex thing,
and it is easier to modify the peer.
======================================================================
Name: pvC76716 Date: 05/17/99
More info following.
By the mean of wrapping, I meant word wrapping.
The most common example is the netscape's textarea behaviour on the
following HTML:
<html>
<body>
<form>
<textarea wrap="on" cols=30 rows=2>
This is how netscape text area looks like
</textarea>
</form>
</body></html>
--------------------------------^
|This is how netscape text area||
|looks like ||
--------------------------------v
The same textarea in jdk, filled with this data would be:
--------------------------------^
|This is how netscape text area||
| ||
--------------------------------v
<------------------------------->
We want the the method like setWrapMode() that would enable to
make long string be automatically wrapped in text area.
======================================================================