ChoiceBoxBuilder.<String>create() is error. How to fix?
Tadashi Ohmura
omurata at ga2.so-net.ne.jp
Mon Oct 22 15:49:33 PDT 2012
Thank you, Eva Krejcirova
I m waiting for fixing.
Best Regards
Tadashi Ohmura
(2012/10/23 2:06), Eva Krejcirova wrote:
> Hi,
>
> This is a bug on JavaFX side, it's reported in JIRA as
> http://javafx-jira.kenai.com/browse/RT-24272 and we need to fix it.
> Unfortunately, currently there is no other solution for this than to
> create ChoiceBox directly (and not to use the builder).
>
> Regards,
> Eva
>
> On 22.10.2012 0:47, Tadashi Ohmura wrote:
>> Hello everyone
>>
>> ChoiceBox<String> choiceBox = ChoiceBoxBuilder.<String>create()
>> .items( FXCollections.observableArrayList("New", "Open", "Save", "Exit") )
>> .build();
>>
>>
>> The method create() is ambiguous for the type ChoiceBoxBuilder at Java8.
>> It is OK at Java7.
>>
>> Plese teach me how to fix this error?
>>
>> Best regards
>> Tadashi Ohmura
>>
>
>
More information about the openjfx-dev
mailing list