Closed GoogleCodeExporter closed 9 years ago
Hi parilinsa,
#enterText does select the existing text, but it does so before giving input
focus to
the JSpinner's editor, which is a JFormattedTextField by default.
JFormattedTextField
can format its text differently depending on
whether it has focus or not, so it reformats the text after gaining or losing
the
focus, resulting in the loss of the selection.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4740914 .
Regards,
Csabi
Original comment by csaba.ju...@gmail.com
on 6 Feb 2009 at 3:40
I forgot :) See issue 306 if you experience losing input.
Original comment by csaba.ju...@gmail.com
on 6 Feb 2009 at 3:41
Original comment by Alex.Rui...@gmail.com
on 8 Feb 2009 at 5:40
Fixed. Changes can be reviewed at
http://code.google.com/p/fest/source/detail?r=2268
(2268).
Parilinsa, I'd like to add you to the list of contributors. If you agree,
please feel
free to send me your name and the address of your blog or personal website to
alex.ruiz.05 at gmail.com
Thanks,
-Alex
Original comment by Alex.Rui...@gmail.com
on 9 Feb 2009 at 7:23
Issue migrated to http://kenai.com/jira/browse/FEST-17
Original comment by Alex.Rui...@gmail.com
on 14 Feb 2009 at 9:56
[deleted comment]
Issue migrated to http://jira.codehaus.org/browse/FEST-19
Original comment by Alex.Rui...@gmail.com
on 2 Mar 2009 at 7:28
Original issue reported on code.google.com by
parili...@gmail.com
on 5 Feb 2009 at 3:09