Re: Review Request for Bug 8146320 JTextField ignores setPreferredSize when having columns

2016-01-22 Thread Andrej Golovnin
Hi Alexandr, > Usually you are right that if there is a public javadoc and developers > relies on it, changing the API could break their programs. > > This case looks slightly different. The javadoc for > JTextField.getPreferredSize() contradicts to the parent > JComponent.getPreferredSize() d

Re: Review Request for Bug 8146320 JTextField ignores setPreferredSize when having columns

2016-01-22 Thread Alexander Scherbatiy
On 21/01/16 15:19, Andrej Golovnin wrote: Hi Perm, I'm sorry, my mistake. To see the difference you must run the example with JDK 8, e.g. without your patch. The example contains two fields "jdk8" and "jdk9". The "jdk9" field simulates the behaviour of JTextField with your patch. Both fields "jd