codjo/codjo-gui-toolkit — pull request #1 by codjo-sandbox (2011-11-23 14:42:02+00:00)
Title: Bug fix

1 - Modal frames do not work in JDK6
-----------------------------------------------

### Context

Modal frames are not modal anymore in JDK6. Users can click behind the modal frame and interact with components despite the modality.

### Description

This bug has been fixed.

2 - Bug fix in JTextFieldCodeLabelAutoCompleter
---------------------------------------------------------------

### Context
When several codes differed only from the case, the wrong one could be selected.

Example:
If the following code-label pair was set :

"babar", "un éléphant"
"BABAR", "François Hollande"
"Babar", "Raymond Barre"

When the code "babar" was set, searching for the right label was not case-sensitive. Therefore, the "BABAR" code was always found and the same label "François Hollande" was returned even if "babar" or "Babar" codes were set.

setCode("babar") displays "François Hollande"
setCode("BABAR") displays "François Hollande"
setCode("Babar") displays "François Hollande"

### Description

This bug has been fixed.

setCode("babar") displays "un éléphant"
setCode("BABAR") displays "François Hollande"
setCode("Babar") displays "Raymond Barre"