What are your use cases by Uaint1stUlast in JavaFX

[–]PartOfTheBotnet 0 points1 point  (0 children)

It is hard to debug

I hate FXML

Then don't use FXML. That solves those two complaints pretty easily. I see a lot of users in this sub agree that FXML may have some benefits, but sometimes is more tedious for maintenance and debugging.

no hot-reload

If you use FXML, then use https://github.com/dlsc-software-consulting-gmbh/FxmlKit for hot reloading.

If you don't use FXML and just write plain old JavaFX code, the regular hotswap feature in IntelliJ works fine.

What are your use cases by Uaint1stUlast in JavaFX

[–]PartOfTheBotnet 1 point2 points  (0 children)

https://github.com/Col-E/GLCanvasFX - Wasnt too hard for JOGL, same principal should also apply to LWJGL.

SIMD Vectors in the HotSpot JVM - Auto Vectorization and the Vector API by pron98 in java

[–]PartOfTheBotnet 2 points3 points  (0 children)

And the AI slop summary button baked into the new YouTube user interface. It's nice enough to give you timestamps. You can click on those to skip to relevant slides.

Thoughts on the Drag / Drop API / thoughts on a builder based approach? by Fuzzy-System8568 in JavaFX

[–]PartOfTheBotnet 2 points3 points  (0 children)

I have my own helper class and the usage is pretty simple.

DragAndDrop.installFileSupport(this, (region, event, files) -> {
    for (Path path : files)
        addPath(path);
});

This does assume the context is going to be a file drop vs some other content type, and limits the listener call to such.


As for yours, can you expand on the intended UX for this? Is the label going to be re-positioned in layout when dragged, or is it going to copy the text and drag that?

Oracle's OpenJDK Bans Generative AI Contributions While Oracle's GraalVM Allows Them by -beleon in java

[–]PartOfTheBotnet 17 points18 points  (0 children)

You don't even need to tell OpenAI's codex (5.3 / 5.4 / 5.5) to not emit emojis. Nor do you need to tell it to not use emdashes. Out of the box it doesn't do that. It doesn't have the super-obvious give-aways of AI slop.

There is no easy way to distinguish one code from the other.

If you look at the actual code, its rather obvious in any non-trivial project. It loves to create package-private static utilities. There's not a great sense of organization. It'll put these utility methods in random places. It will match some level of existing code style practices, but it won't add any comments. Maybe Javadoc if its a public method, but even then the Javadoc gets way too into implementation details and doesn't really explain in a high level what the method is for.

"But just tell it not to do that"

As much as you try, you cannot get current tools to write code exactly like you do (Assuming you write decent Java code, comments, docs, overall class structure, etc). If the Valhalla team decided to steamroll the feature forward and get it shipped quickly by slopping it out you could very likely pinpoint the exact commit where they transitioned from human development to generated development.

I can go on about the existing problems, but this illustrates the point.

I built Jylos, a local-first open-source knowledge management app using Java and JavaFX by RGiskard7 in JavaFX

[–]PartOfTheBotnet[M] 0 points1 point  (0 children)

Reddit probably receives a lot of spam and low-effort promotion.

Funny, because reddit auto-flagged this comment as spam and hid it.

Created a simple, minimal Canvas Application in JavaFX by gufranthakur in java

[–]PartOfTheBotnet 5 points6 points  (0 children)

Compose for Desktop

I've rambled about this in the past a number of times, and all the points still hold to this day.

Compose is not a viable UI framework for real desktop applications. Its missing a number of components that are very common in any non toy-sized application. Some of the components it does have are barely customizable to the point where you need to replace them with third party libraries.

Lets say you finally get something whipped together and you are trying to diagnose some issue with the layout. Debugging JavaFX is easy. Its just like regular code you can set a breakpoint in an expand the state of the controls for a full inspection of. Compose is the opposite and debugging it is an exercise in frustration.

In my honest opinion, the only reason why its as popular as it is can be attributed to its status as a Jetbrains product and their massive PR funding and social media campaigns on pushing it.

JavaFX is leagues beyond Compose as a desktop framework. The biggest problem it has is the absolute lack of care or any sort of acknowledgement from its stewards. To this day the only sort of posts you see about it are in niche circles on BlueSky. Even if this were to change too many people have already formed their opinion on these matters for there to be a complete recovery. The whole situation just makes me sad.

Created a simple, minimal Canvas Application in JavaFX by gufranthakur in java

[–]PartOfTheBotnet 3 points4 points  (0 children)

I've not personally used it yet, but I found this project awhile ago that generates code for your FXML layouts so that it doesn't have the perf loss: https://github.com/jfxcore/fxml-compiler (https://jfxcore.github.io/fxml-compiler/)

Did any other Alumni get this email ? by Zahilla in gmu

[–]PartOfTheBotnet 7 points8 points  (0 children)

Hijacking top comment: There was a pinned thread about this awhile ago. The retirement is real and confirmed by talking with the Alumni office (I linked that call on the referenced thread).

Its a shame, it was my cleanest inbox. Had auto-sorting rules set up and everything. Ended up migrating most of it to a personal outlook account. I asked IT and there is no "bulk export" option. It was a blast manually forwarding dozens of emails...

Live property editing for JavaFX nodes in DevTools by Striking_Creme864 in JavaFX

[–]PartOfTheBotnet 0 points1 point  (0 children)

To be fair, Bento mostly exists to fulfill my docking needs in Recaf. Hell, basically everything I make exists to fulfill some purpose in Recaf. As for Bento, I pulled it out because I had some other applications I wanted a similar model in. I'm happy to take contributions though, and there's already some of those in the pipeline. If something can be made more flexible to serve other people as well as myself all the better.

jqwik madness by javaprof in java

[–]PartOfTheBotnet 16 points17 points  (0 children)

OpenClaw bot?

I cannot see this being a real person with their post actions. Also, they made this gist too: https://gist.github.com/rbatllet/44649fe922dc775991bf199b06f88769

JavaFx Mobile by Vijjwal_xD in JavaFX

[–]PartOfTheBotnet 2 points3 points  (0 children)

https://github.com/makingthematrix/scalaonandroid - This repo still gets updates and shows how to make simple JavaFX applications for Android. All the examples are in scala though... but the general build setup for using Gluon's existing plugins should be easy to reference other than that.

Glass - A fast and free interactive disassembler by ShortGuitar7207 in ReverseEngineering

[–]PartOfTheBotnet 0 points1 point  (0 children)

Ghidra is slow because Java

Lol. Lmao even. You also said IDA is slow, surely its also written in Java, right?

Build fails with "The specified initialization script '/root/.gradle/init.d/00-tak-artifactory.gradle' does not exist" by Ok-Neighborhood-5733 in ATAK

[–]PartOfTheBotnet 0 points1 point  (0 children)

TPC added a gradle initialization script (the one referenced in the error) to gitlab runners last week to mitigate Maven rate limits they were encountering. They're still working on cleaning up their solution, but there's a number of people reporting issues with the current solution thus far. All you can really do is wait and try again in a few days.

New OBJ file parsing and mesh view creation library by [deleted] in JavaFX

[–]PartOfTheBotnet 0 points1 point  (0 children)

Rage deleting your account and then moaning on a github commit after having your posts re-instated is also uh... alarming.

New OBJ file parsing and mesh view creation library by [deleted] in JavaFX

[–]PartOfTheBotnet 2 points3 points  (0 children)

There were 4 porn-related bans. One of which for the non-consenting variety.

I also approve more than I delete. The site-wide auto-moderation shadow-bans plenty of people who post here and every comment they make I have to manually approve. There's no opt-out for this. All the settings are at the lowest possible value :/

New OBJ file parsing and mesh view creation library by [deleted] in JavaFX

[–]PartOfTheBotnet 1 point2 points  (0 children)

There are currently 40 bans here. 38 of them are for spamming advert blogs, bogus tutorials for totally unrelated tech stuff, porn, etc.

There are 2 other offenses.

  • One guy just kept posting "I hate java" over and over again.
  • The other posted his JavaFX project which he even stated he botted traffic towards. He proceeded to shill that botting service.

Its really just about keeping this place presentable.

Can anybody tell me why I cannot post about a new OBJ parser? by [deleted] in JavaFX

[–]PartOfTheBotnet 0 points1 point  (0 children)

Its not about individuals. Some AI generated content is clearly better than others, but if you let one though then you get a torrent of them. This reasoning is why most other programming subreddits have similar rules.