Re: JavaFX 12

2020-08-10 Thread Neil C Smith
On Mon, 10 Aug 2020 at 15:32, Ernie Rael wrote: > If you take a look at /nbactions.xml (or similarly in NB "proj > > properties > actions) there's run and debug. Notice the "clean". I'm > guessing you don't need to do the clean/build because that is implicit > in the run/debug. > > I don't know a

Re: JavaFX 12

2020-08-10 Thread Ernie Rael
On 8/10/2020 5:51 AM, HRH wrote: Bad habits got me in trouble. I am used to using Shift-F6 on each main class and that's why led to the problem. I used the Run->Set Main project, then chose Clean and Build Main project and finally Run -> Run Main Project. It works great now. If you take a loo

Re: JavaFX 12

2020-08-10 Thread HRH
Bad habits got me in trouble. I am used to using Shift-F6 on each main class and that's why led to the problem. I used the Run->Set Main project, then chose Clean and Build Main project and finally Run -> Run Main Project. It works great now. To reproduce the problem, I used Shift-F6 again, and

Re: JavaFX 12

2020-08-10 Thread HRH
Hi Chris, I already have those properties in the aforementioned files as part of the initial setup. Both the pom and nbactions are having your recommended elements. I think my problem is somewhere eles, I will report back. On Monday, August 10, 2020, 4:38:34 PM GMT+4:30, Luff,Chris wrote

Re: JavaFX 12

2020-08-10 Thread Chuck Davis
You'll also have to update the plugins. i.e. change the compiler plugin to 3.8.1 and any others that have a newer version available. Following section of my POM. org.apache.maven.plugins maven-compiler-plugin 3.8.1

Re: JavaFX 12

2020-08-10 Thread Luff,Chris
You’ll need the javafx-maven-plugin... org.openjfx javafx-maven-plugin 0.0.4 Then configure the run action in nbactions to execute that; run jar clean javafx:run On 10 Aug 2020, at 12:55, HRH mailto:hrh...@yahoo.

Re: JavaFX 12

2020-08-10 Thread HRH
Chuck,Thanks for the prompt response. During the installation and initial setup, I changed the artifact versions per instructions given by Getting Started with JavaFX | | | | Getting Started with JavaFX Getting started with JavaFX for Java desktop application development | | | Here

Re: JavaFX 12

2020-08-10 Thread Chuck Davis
Update your POM to latest versions of Maven artifacts. On Mon, Aug 10, 2020 at 3:34 AM HRH wrote: > I forgot to indicated, that I have already modified the > > > > org.me.learningfx.control.MavenFxBasicDemo > > > in the pom.xml file. > > Thanks > > > On Monday, August 10, 2

Re: JavaFX 12

2020-08-10 Thread HRH
I forgot to indicated, that I have already modified the       org.me.learningfx.control.MavenFxBasicDemo   in the pom.xml file. Thanks On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH wrote: Hi, While using "Java with Maven"->FXML JavaFX Maven

Re: JavaFX 12

2020-08-10 Thread HRH
Hi, While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run its pre-configured App.java, creating a new package with a new main class fails to compile with the following error. Any insights on which resources need to be modified? Thanks in advance. Error msg:Error: JavaFX r