ChoiceBoxBuilder.<String>create() is error. How to fix?
jonathan.giles at oracle.com
Mon Oct 22 11:42:08 PDT 2012
I've made it public. Almost always internal issues are made so by
mistake - I would assume it was the case here also.
On 23/10/2012 7:39 a.m., Dr. Michael Paus wrote:
> And why is this JIRA entry again secrect so that nobody outside of
> Oracle can read it?
> Am 22.10.2012 19:06, schrieb Eva Krejcirova:
>> 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).
>> On 22.10.2012 0:47, Tadashi Ohmura wrote:
>>> Hello everyone
>>> ChoiceBox<String> choiceBox = ChoiceBoxBuilder.<String>create()
>>> .items( FXCollections.observableArrayList("New", "Open", "Save", "Exit") )
>>> 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