Event Filtering

Scott Palmer swpalmer at gmail.com
Mon Feb 9 11:44:11 UTC 2015


When the actual control is an editable combobox it gets more complicated. That is the case that prompted my original message.

Scott

> On Feb 9, 2015, at 4:47 AM, Werner Lehmann <lehmann at media-interactive.de> wrote:
> 
> Hi Scott,
> 
> at least in Java 8 you can override TextInputControl#replaceText and/or TextInputControl#replaceSelection to convert lowercase into uppercase. I have used it for exactly this purpose.
> 
> Werner
> 
>> On 07.02.2015 01:33, Scott Palmer wrote:
>> But let's say that I want to allow the user to type lowercase letters and
>> have them appear in uppercase.  I don't ever want the text property of the
>> TextField to hold a lowercase character.  Can that be done?


More information about the openjfx-dev mailing list