Complex binding situation

In a javafx scene I have:

A combobox with some locales as items

A hashtable with entries (Locale, String)

A textfield to show and edit text

What I want to do is:

When locale combobox change, textield show the text stored in the hashtable according to locate selected. Example 1: if frech is selected, textfield shows 'french text'. Example 2: if chinese is selected, textfield doesn't show anything (hashtable doesn't contains zh key).

As some text is being typed in textfield, hashtable execute a put with the locale selected in combobox. Example 1: if 'aaa' is...

Read More »

By: StackOverFlow - Wednesday, 7 November

Related Posts