Java interop question

2019-02-05 Thread Thiago Araújo
Hi, I'm a newcomer to java interop. I'm trying to run the following code without success: (javafx.scene.layout.HBox. (javafx.scene.control.Label. "Foo")) I get: IllegalArgumentException No matching ctor found for class javafx.scene.layout.HBox

Re: Java interop question

2019-02-05 Thread John Shahid
Thiago Araújo writes: > Hi, > > I'm a newcomer to java interop. I'm trying to run the following code > without success: > > (javafx.scene.layout.HBox. (javafx.scene.control.Label. "Foo")) > > I get: > > IllegalArgumentException No matching ctor found for class >

Re: Java interop question

2019-02-05 Thread Thiago Araújo
That works, thanks a lot! Em terça-feira, 5 de fevereiro de 2019 11:55:32 UTC-3, jvshahid escreveu: > > > Thiago Araújo > writes: > > > Hi, > > > > I'm a newcomer to java interop. I'm trying to run the following code > > without success: > > > > (javafx.scene.layout.HBox.