Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-26 Thread Geertjan Wielenga
There is indeed a Preferences, but, as I pointed out to you above, that is on the Mac. Gj On Fri, Jun 26, 2020 at 4:52 PM slipbits wrote: > Thanks Gj; > > You are right that learning JavaFX is the goal and using gradle is not. > And in the interest of expediency you are again correct to ignore

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-26 Thread slipbits
Thanks Gj; You are right that learning JavaFX is the goal and using gradle is not. And in the interest of expediency you are again correct to ignore gradle. But this is a 'learning experience', and learning gradle is probably part of it. However, giving the devil his due, I will probably do

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
On Mac, go to NetBeans | Preferences, on Windows to Tools | Options. All this that you’re doing with Gradle is completely unnecessary since what you’re doing is learning JavaFX, for which there are two Maven archetypes that run out of the box without you needing to tweak anything. Gj On Fri, 26

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread slipbits
That's the problem. Tools->Options->anything doesn't seem to have a 'Preferences', or I've missed it. Run->Set Project Configuration->Customize is similarly bereft of 'Preferences'. I've looked at some of the other menu items and, well, I just can't seem to find the fool thing. There is a Too

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread slipbits
I know this is going to sound tacky,, but I have an IDE. Two of them in fact. Why would I try to do all this work by hand? Sigh. I'm getting their but gradle says that JAVA_HOME is not set correctly. I just can't stand the fun. Where is "preferences"? I've looked all over the blasted IDE, and

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Scott Palmer
Set the path to Gradle in the NetBeans preferences/options. If you are using the Gradle wrapper then Gradle will use the version specified by the project which it will download and cache in the .gradle folder of your home directory. Have you tried building the project from the command line?

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread slipbits
Win 7-64 & cygwin Tried it on NB 12. Failed. The build message says "Could not run build action using .gradle/.../gradle-6.3". I have JavaFX installed @ /Program File/JavaFX /javafx-sdk-14.0.1  (openJFX) I have java installed @ /Program File/Java/jdk-14.0.1     (oracle) I have

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Scott Palmer
> On Thu, Jun 25, 2020 at 5:27 PM slipbits > wrote: > Under Java with Maven I see "FXML JavaFX Maven Archetype (Gluon)" and "Simple > JavaFX Maven Archteype (Gluon)". I suspect one of these should be chosen. The > book I'm reading, JavaFX 8 by Example, recommends J

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
You're going to need to write to the mailing list, please. Not to me. Indeed, use exactly one of those two samples. You're learning about JavaFX, it doesn't matter what build system you use. Gj On Thu, Jun 25, 2020 at 5:27 PM slipbits wrote: > Under Java with Maven I see "FXML JavaFX Maven Arc

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
You will find the two OpenJFX Gluon Maven archetypes around midway down the list in “Java with Maven”. They can be run and debugged out of the box and there is nothing you need to install for this. Gj On Thu, 25 Jun 2020 at 17:12, Geertjan Wielenga wrote: > > It is also available under “Java wi

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-25 Thread Geertjan Wielenga
It is also available under “Java with Maven”. Gj On Thu, 25 Jun 2020 at 17:11, slipbits wrote: > Can't do it (different idea then "won't do it"). JavaFX seems to be > exclusively available under Ant. In order to create a new JavaFX project I > must do: Files->New Project->Java with Ant->JavaFX

Re: Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-24 Thread Geertjan Wielenga
Can you consider using Maven instead of Ant? Then everything works out of the box. Gj On Thu, 25 Jun 2020 at 01:59, slipbits wrote: > Win 10-64 > > I've installed the JavaFX plugins and now I'm trying to create an > application. When I do: > > File->New Projects->Java with Ant->JavaFX->JavaFX

Help in setting up JavaFX on NB 12 and OpenBeans 12

2020-06-24 Thread slipbits
Win 10-64 I've installed the JavaFX plugins and now I'm trying to create an application.  When I do: File->New Projects->Java with Ant->JavaFX->JavaFX Application I get a message: "Failed to automatically set-up a JavaFX Platform. Please go to Platform Manager, create a non-default Java SE p