@Override
public String showPossibilities(String letters) {
// Create all possible combinaison with letters
Anagram ana = new Anagram(this.game, letters);
// Show result
Object[] str = ana.toArray();
String selected = null;
if (str.length > 0) {
Object result = JOptionPane.showInputDialog(
null, getGameLang("Choice"), letters,
JOptionPane.INFORMATION_MESSAGE, null, str, str[0]);
if (result != null) {
selected = (String) result;
}
else {
selected = null;
}
}
else {
Display.information("Show possibilities", "No available word !");
}
ana.clear();
return selected;
}