AbuAbed
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
fixed the issue
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Okay I removed
Platform.exit();
and the app window won't close itself anymore317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
No, it's
public void start(Stage primaryStage) throws Exception {
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Line 33 is where
start()
is317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
No, when I debug
start()
, the debugger console gives me this:
Not able to submit breakpoint LineBreakpoint HyBrid04.java : 33, reason: No executable location available at line 33 in class com.coursework2.hybrid04.HyBrid04.
Invalid LineBreakpoint HyBrid04.java : 33
And it skips the debugging of that method and continues running the application.317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Yes
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Yes
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
This is what the console gives me
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
In the main method, before opening the app window, the code retrieves data and builds the code, then once that's done there's a series of lines printed in the console and then the application window opens
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
but with debugging the window never shows up
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
It happens in the main method, and I added a breakpoint to try and see when the application launches
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Yes, and the 7 seconds is retrieving data from a web service
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Here's the
start()
method317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
yes
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
I don't need to do anything for it to close, it just closes by itself
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Oh
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
Here's HyBrid04.java which contains the
main()
method317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
I don't have any button that closes the window
317 replies
JCHJava Community | Help. Code. Learn.
•Created by AbuAbed on 12/7/2024 in #java-help
unable to import Gson java dependency to my Maven JavaFXML Project
the application window does start, yes
317 replies