Re: Should TextField Documentation be updated ?

2016-02-01 Thread Alexandr Scherbatiy
*From:*Alexandr Scherbatiy *Sent:* Monday, February 01, 2016 5:05 PM *To:* Ambarish Rapte; awt-dev@openjdk.java.net *Subject:* Re: Should TextField Documentation be updated ? What is behavior of text controls on different OSes (Windows, Linux, Mac OS X)? Is new line character is replaced

Re: Should TextField Documentation be updated ?

2016-02-01 Thread Ambarish Rapte
@openjdk.java.net Subject: Re: Should TextField Documentation be updated ? 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

Re: Should TextField Documentation be updated ?

2016-02-01 Thread Alexandr Scherbatiy
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,

Should TextField Documentation be updated ?

2016-01-28 Thread Ambarish Rapte
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 aw