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
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
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
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
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
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.
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
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
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
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
Thanks for those links, Scott.
On Wed, Aug 5, 2020 at 3:00 PM Scott Palmer wrote:
> You might also consider running with a distribution of OpenJDK that
> includes JavaFX. That simplifies things quite a bit. No need to fiddle with
> the module path.
>
> One such distribution is Bell Soft’s Liberi
You might also consider running with a distribution of OpenJDK that includes
JavaFX. That simplifies things quite a bit. No need to fiddle with the module
path.
One such distribution is Bell Soft’s Liberica JDK (Full version, not Standard)
https://bell-sw.com/pages/downloads/#/java-14-current
I suggest you take Ernie's suggestion to get started (use the fxml
archtype). You can build and run your application in NB. The first thing
to do after creating the project is edit the POM to update to newer
versions of Maven artifacts. Then, when you wish to run your application
outside NB you
The easiest way to run jfx with NetBeans is through maven. In NetBeans
you can do
NewProject.. > JavaWithMaven > "Simpe JavaFX Maven Archetype"
(or the FXML one if that's what you're after)
This gives you a simple project that you can run and debug.
-ernie
On 8/5/2020 11:52 AM, HRH wrote:
14 matches
Mail list logo