r/java • • Oct 11 '20

PhotoSlide - JavaFX

https://github.com/lanthale/PhotoSlide
45 Upvotes

3 comments sorted by

6

u/BlueGoliath Oct 11 '20

Gave it a try in Linux. The application is cool but is clearly an alpha, as stated in the releases page.

A few things:

Refresh button code throws:

Caused by: java.lang.NullPointerException: Cannot invoke "javafx.scene.control.TitledPane.getContent()" because the return value of "javafx.scene.control.Accordion.getExpandedPane()" is null

The remove button doesn't seem to work. Clicking preferences or open in the menu does nothing. Table columns don't automatically resize, so the strings are truncated.

Oh, and the graphical glitching bugs in JavaFX on Linux. Please specify

-Dprism.forceUploadingPainter=true

for Linux to work around it.

`

1

u/stn_dan Oct 12 '20

I just had a look into the code, I was always interested in the metadata of files but didn't get the time to go into details with it. Thank you for this!

I agree with alpha statement by reading the code and seeing lots of code in single classes.
I miss some separation here.

The UI looks nice from what I could see in the screenshot.

1

u/Hakky54 Oct 12 '20

I somehow couldn't get the binary working for my mac environment. I am using Mac osx with version 10.15.6 and java 14. Running the main method within my editor also didn't work. Which VM arguments are you using?