Skip to content

Tag: javafx

NoSuchFileException java

So I’m currently working on a java fx project and I am trying to get my program to read 2 txt files (name.txt) and (password.txt). When I run this in IntelliJ it works as intended but when I run the jar file in power shell I get this: the code that is supposed to tell where to look at the

How to ensure Stage opens as a window and not a tab?

New stages traditionally opened as new windows.Then MacOS came around and introduced this in (System Preferences -> General): Now all my new JavaFX stages are all opening as new tabs on top of the first opened stage. If I change the system setting, stages once again open as windows. But I prefer to leave t…

What version of JRE should I use to run a Java 15 compiled program?

I am new to Java Programming. Recently I created a JavaFX program using the latest JDK 15 (https://www.oracle.com/java/technologies/javase-downloads.html) and the latest JavaFX SDK 15 (https://openjfx.io/index.html). Suppose that I need to deploy the application (.jar) in someone else’s computer. What i…