Jim Jupiter

+ Follow
since Sep 15, 2019
Jim likes ...
Android Java Windows
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jim Jupiter

Maybe a good start to overcome some traumatic school memories with mathematics  
6 days ago

I have installed Eclipse 2019-09

installed e(fx)clipse 3.6.0

Now I'm here

all fx commands are red x

and enough trouble for today ... just relaxing  

Edit: Now it looks like this

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method launch(String[]) is undefined for the type Main

at DBFX2020.Main.main(Main.java:25)
6 days ago
Does it work with Eclipse or Netbeans? Any know-how?

Try it now this way - didn't understand it - but maybe it works

6 days ago

Now IntelliJ did not start

If you already have a 64-bit JDK installed - define a java home variable

Failed to create JVM path. Path C: program files\java\jdk 13.0.1



JAVA_HOME C:\Program Files\Java\jdk-13.0.1
IDEA_JDK_64 C:\Program Files\Java\jdk-13.0.1

1 week ago

1 week ago

same error again

modul-info.java don't see it

I reinstalled IDEA and then Import the project - maybe there some fault?
1 week ago

as stackoverflow says i have put this to vm options (last two)

Edit: if I delete two lines - same error

IDE  IntelliJ IDEA

modular??? don't know
2 weeks ago

some error occurred

Caused by: java.lang.IllegalAccessError: class com.sun.javafx.fxml.FXMLLoaderHelper (in unnamed module @0x6a15cd04) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.util to unnamed module @0x6a15cd04

Parent root = FXMLLoader.load(getClass().getResource("Main.fxml"));
2 weeks ago
Thank you - it works - I have downloaded Gluon JavaFX  13 SDK from the above mentioned link - then press F4 - open modul settings and then - add lib
2 weeks ago

I have reinstalled IntelliJ IDEA with Java SDK 13

but message appears Error:(3, 19) java: package javafx.fxml does not exist


What should I do? Install this? https://gluonhq.com/products/javafx/
2 weeks ago

Knute Snortum wrote:I don't understand the problem.  You would load the controller just like any other FXML.

How to?

What do you mean that you can't generate a controller when building FXML in IntelliJ?

In IntelliJ I go to file new fxml file - give a name and a fxml file will be created ... and now ... what have I to do next to get a controller file and connect it to the new window/fxml file

When I start a project the main controller file already exists - for the second window ... just copy the main controller file and rename it? ... is there a place where I have to "load" the new controller ?

Edit: found the connection in fxml file with fx:controller="test.controller"

Have to set new Controller file in SceneBuilder?

3 weeks ago
Ok, works

I have fxml-Loader and getStylesheets but ...

What about controller file? If I create a new one for the second window - How can I connect both?

Edit: I use IntelliJ - when I create an fxml file - no controller file will be generated

3 weeks ago
Ok it looks not so difficult

but when I start


get an unreported exception must be caught declared or to be thrown

3 weeks ago

I'm a beginner in JavaFX - now I have my main window and set it with all the staff ... stage,setting the scene and so on

Now I would like to click a button an get a modalWindow - settingModal and so on

but ... have I set just another scene/stage ... or ... to create a new class file to get a new window

Hope you understand me ... for me its cleaner code to have another java file for every window ... but how it works

Tutorial links somewhere? Didn't look for code just how it works in general
4 weeks ago