<AWT Dev> Should TextField Documentation be updated ?
Alexandr Scherbatiy
alexandr.scherbatiy at oracle.com
Mon Feb 1 11:34:49 UTC 2016
What is behavior of text controls on different OSes (Windows, Linux,
Mac OS X)?
Is new line character is replaced to to a space, preserved, or the
text is truncated?
Thanks,
Alexandr.
On 1/28/2016 3:19 AM, Ambarish Rapte wrote:
>
> Hi,
>
> If the input string contains new line character, then TextField
> replaces it with space character.
> This is not documented at java docs,
>
> https://docs.oracle.com/javase/8/docs/api/index.html?java/awt/TextField.html
>
> Could you please provide views on whether to update
> the awt.TextField documentation with above behavior ?
>
> Some more information:
>
> The behavior was corrected for Windows with bug fix
> https://bugs.openjdk.java.net/browse/JDK-8055197
>
> After this bug fix, This behavior is common across
> platforms.
>
> Thanks,
>
> Ambarish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160201/be1aa9aa/attachment.html>
More information about the awt-dev
mailing list