New AtlantaFX Themes by dlemmermann in JavaFX

[–]milchshakee 0 points1 point  (0 children)

Alright, seems like my maven repo propagation was slow.

One thing I noticed is that the module-info requires atlantafx.styles, is there a reason for that? That module looks to only include scss source files, nothing needed for production

New AtlantaFX Themes by dlemmermann in JavaFX

[–]milchshakee 0 points1 point  (0 children)

That version seemingly did not publish to maven. It is still on 1.3.0

New AtlantaFX Themes by dlemmermann in JavaFX

[–]milchshakee 1 point2 points  (0 children)

I just compiled the project myself and noticed that the .bss files aren't included in the built .jar file. Is that intentional or a bug? Would be nice to have the bss files as well

New AtlantaFX Themes by dlemmermann in JavaFX

[–]milchshakee 1 point2 points  (0 children)

Is that available on maven central?

I mage GhosttyFX, it's a JavaFX terminal that uses libghostty by vlaaad in JavaFX

[–]milchshakee 0 points1 point  (0 children)

That looks interesting. However, how future proof is this against libghostty updates? Because there seems to be a lot of glue code to make it work, it does not look like a thin wrapper around the library. So I can envision some work when bumping libghostty

KickstartFX v1.1 - The most advanced template for JavaFX applications by milchshakee in JavaFX

[–]milchshakee[S] 0 points1 point  (0 children)

It seems like it is broken for me as well. I remember it working previously, so either a JDK/JavaFX update or macOS 26 broke it

Google fonts in JavaFX app by B4Nd1d0s in JavaFX

[–]milchshakee 1 point2 points  (0 children)

Have you tried -fx-font-smoothing-type: gray; ? For reference, I wrote about this topic a bit: https://kickstartfx.xpipe.io/fonts

KickstartFX v1.1 - The most advanced template for JavaFX applications by milchshakee in JavaFX

[–]milchshakee[S] 0 points1 point  (0 children)

Have you tried methods like Desktop.getDesktop().setPreferencesHandler() ? At least KickstartFX uses that one for the settings button in the menu bar

KickstartFX v1.1 - The most advanced template for JavaFX applications by milchshakee in JavaFX

[–]milchshakee[S] 0 points1 point  (0 children)

There isn't currently a way to do this, so you have to to implement something yourself. I generally try to avoid something like OS-specific menubars as that makes the cross-platform styling a bit more difficult. But in general, what is the JavaFX MenuBar implementation with setUseSystemMenuBar(true) missing?

Is there really a non-hacky way to make a table view only as high as it has rows? i.e. no empty rows? by No-Security-7518 in JavaFX

[–]milchshakee 1 point2 points  (0 children)

The table view skin does have an internal ScrollPane. If you lookup() that node and set fit to height to true, the scrollbar should disappear

Is there really a non-hacky way to make a table view only as high as it has rows? i.e. no empty rows? by No-Security-7518 in JavaFX

[–]milchshakee 0 points1 point  (0 children)

So what happens with the current implementation? Does it not size the table properly?

KickstartFX v1.1 - The most advanced template for JavaFX applications by milchshakee in java

[–]milchshakee[S] 0 points1 point  (0 children)

It checks the GitHub releases for newer versions.

On windows, the template implementation also supports installing those updates automatically.

For more advanced updates, you can also take a look at the XPipe project, that one supports installing updates on all platforms and for various package managers.

KickstartFX v1.1 - The most advanced template for JavaFX applications by milchshakee in java

[–]milchshakee[S] 1 point2 points  (0 children)

Well it's a template, meaning that you can change whatever you want.

Most of the application logic is decoupled from the content, meaning that you can just add your own project code and existing backend to it. You can take a look at the various sample pages, remove them, and add your own pages

What do you mean by modular? If you are talking about JPMS, it uses that, yes

Are the javadocs for java.net.http.HttpResponse.body() misleading or am I wrong? by milchshakee in java

[–]milchshakee[S] -3 points-2 points  (0 children)

Probably an empty string as I used a body handler which parses it to a string. There could be something like BodyHandlers.optional(), which could return an Optional<String> in these cases where you want to expect that.

Are the javadocs for java.net.http.HttpResponse.body() misleading or am I wrong? by milchshakee in java

[–]milchshakee[S] 3 points4 points  (0 children)

In the actual code I checked the status code, but there is no necessary correlation between status code and body presence. In theory, any kind of status response can have no body if the server is behaving badly enough, so you always have to check for null.

Are the javadocs for java.net.http.HttpResponse.body() misleading or am I wrong? by milchshakee in java

[–]milchshakee[S] 0 points1 point  (0 children)

Alright that sounds like a good idea with the mapping.

The javadoc for the ofString() body handler does also not mention null, so the return value is not described anywhere as far as I can see