Re: [apache netbeans12[ [javafx] [install] Can't install correctly.

2022-02-10 Thread Jeremy Faden CS
I'm very glad they left Swing in as well.  Talking to humans is a pretty 
basic need of any programming language, and leaving Swing in there 
allows for it.


Jeremy


On 2/10/22 12:00, Thomas Wolf wrote:
Totally off-topic: does anyone find it ironic that the successor to 
Swing was taken out of the JDK while Swing itself survives?  Makes me 
feel rather good about never having jumped on the JavaFX bandwagon.  
We currently have a cross-platform desktop app in beta and the GUI is 
written in Swing - packaging the app with jpackage became a whole lot 
easier after we decide to remove the one JavaFX component we did use 
(the chart library) and replaced it with JFreeChart.


sorry for the off-topic musing.
tom


On Feb 10, 2022 at 12:11:16 PM, Scott Palmer  wrote:
Java 11 does not contain JavaFX.  You should use the Gradle or Maven 
plugins, or use a JDK that has added the JavaFX modules (Such as the 
“full” Zulu JDK from Azul).
I strongly recommend migrating away from Ant if you are refreshing 
the project to use modern tools.


Scott

On Feb 9, 2022, at 6:25 PM, Robert Lockwood  
wrote:


I have a Java application from some years ago using an old Netbeans, 
JavaFX, Scene Builder, and Java 8. I've been asked to add features 
to and thought that I would migrate it to a more current IDE etc. 
and put an end to the warnings I receive when I build. I'm using 
macOA Monterey and an Apple Silicon M1 macBook.


I've managed to fix all the syntax errors with help from Dr. Google 
but cannot complete a build. It cannot find the executable or the 
deployment library in the JDK.  I've supplied the locations in the 
libraries and jars list and have added the path to the Java Home 
folder in /Library/... (as a side issue Netbeans cannot find the 
javadocs).


I don't know what I missed and what to try next so I'm asking 
for help here.  First time use of this mailing list, too. The 
application won't be deployed BTW. I understand the Nashorn warnings.


Path to JDK /Lbrary/Java/JavaVirtualMachines/jdk-11.0.2.jdk added to 
$PATH


Build output slightly edited with '***' prepended to warnings and 
errors of note:


*** Warning: java executable not found in JDK, evaluating java 
executable in RT instead.

init:
deps-clean:
Updating property file: 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/built-clean.properties
Deleting directory 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build

clean:
init:
deps-jar:
Created dir: 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build
Updating property file: 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/built-jar.properties
Created dir: 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/classes
Created dir: 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/empty
Created dir: 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/generated-sources/ap-source-output
Compiling 9 source files to 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/classes
Copying 5 files to 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/build/classes

compile:
< 14 Nashorn warnings >
Warning: Nashorn engine is planned to be removed from a future JDK 
release


Copying 11 files to 
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/dist/lib
*** : java executable not found in JDK, evaluating java executable 
in RT instead.

Detected JavaFX Ant API version 1.0

/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/nbproject/jfx-impl.xml:3550: 
The following error occurred while executing this line:
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/nbproject/jfx-impl.xml:3578: 
The following error occurred while executing this line:
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/nbproject/jfx-impl.xml:3597: 
The following error occurred while executing this line:
/Users/nate/NetBeansProjects_12/FireMapperMetadataTool_12/nbproject/jfx-impl.xml:524: 
Error:

*** JavaFX deployment library not found in active JDK.

*** Please check that the JDK is correctly installed and its version 
is at least 7u4 on Mac or 7u6 on other systems.

BUILD FAILED (total time: 7 seconds)


Re: Matisse GUI builder bindings

2022-02-04 Thread Jeremy Faden CS
My application is about 500K lines of code and very dependent on Swing 
and Graphics2D, so that's not really an option.


Jeremy

On 2/4/22 14:39, Chuck Davis wrote:
You might want to begin the migration to JavaFX. It has a very good 
binding capability.  There's a learning curve but well worth the 
effort.  Build your dialogs with Scene Builder and load them into your 
Java program with FXMLLoader. Distribution takes a little more effort 
but, again, well worth the effort.


On Fri, Feb 4, 2022 at 8:28 AM Jeremy Faden CS 
 wrote:


I've recently upgraded to Netbeans 12.6 after working with Netbeans 8
for years.  Everything is working smoothly, but I just noticed
that any
of my GUIs which used bindings before cannot be edited in the GUI
builder and I see that when I make a new GUI, I no longer have the
option to add bindings.  Is this no longer supported and will I
need to
rebuild all my old GUIs?

Thanks,

Jeremy



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Matisse GUI builder bindings

2022-02-04 Thread Jeremy Faden CS
I've recently upgraded to Netbeans 12.6 after working with Netbeans 8 
for years.  Everything is working smoothly, but I just noticed that any 
of my GUIs which used bindings before cannot be edited in the GUI 
builder and I see that when I make a new GUI, I no longer have the 
option to add bindings.  Is this no longer supported and will I need to 
rebuild all my old GUIs?


Thanks,

Jeremy



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists