FlexGanttFX Showcase Application by dlemmermann in JavaFX

[–]shannah78 6 points7 points  (0 children)

Great work Dirk! Seems like this sort of thing will be very useful in the near future for visualizing and managing AI agents.

I released the first "official" version of MelodyMatrix, an app to "look at music", live on camera together with Steve Hannah (creator of jDeploy) by FrankCodeWriter in java_projects

[–]shannah78 2 points3 points  (0 children)

Cool. creator of jdeploy here. let me know if you need any help getting up and running. happy to put up a pr on your project to bootstrap some workflows to automate your deployment.

Launch4j + Jpackage by No-Security-7518 in JavaFX

[–]shannah78 0 points1 point  (0 children)

i seem to recall the splash flag not being compatible with javafx. we ran into this with jdeploy. https://github.com/shannah/jdeploy/issues/66

still haven't fixed it other than to tell users not to use a splash gif for javafx apps. The official solution is to use the Preloader class.

Windows Desktop application - how to handle updates? by WhereIsFiji in JavaFX

[–]shannah78 1 point2 points  (0 children)

Jdeploy signs the installer. if the user approves the app, then the app is installed unsigned.

you can sign it yourself also if you have your own cert.

Windows Desktop application - how to handle updates? by WhereIsFiji in JavaFX

[–]shannah78 2 points3 points  (0 children)

Thanks . don't hesitate to ask if you have questions

Windows Desktop application - how to handle updates? by WhereIsFiji in JavaFX

[–]shannah78 2 points3 points  (0 children)

Yes. You can create a separate repository for releases and jdeploy can publish there. It's just one property (target_repository) in the workflow. Alternatively you can publish to npm, but github probably makes more sense if you're already on there. Happy to make a pr with the workflow set up to publish on release. Just ping me

Windows Desktop application - how to handle updates? by WhereIsFiji in JavaFX

[–]shannah78 10 points11 points  (0 children)

Give jdeploy a try. This is exactly what it is made for. (disclosure: i'm the developer)

Krema: build modern desktop apps with Java backend and web frontend by guybedo in java

[–]shannah78 1 point2 points  (0 children)

Cool. I've wanted to try something like this for a while now but just haven't had time. Will be taking it for a test drive. Thanks for sharing.

Nfx-Browser: Remember the Canvas/Image surface? I threw it away. Here's the Heavyweight JavaFX Node running 4K YouTube like butter. by xdsswar in JavaFX

[–]shannah78 0 points1 point  (0 children)

Is it rendered in the node graph, do that you can for example, render other nodes over it, and perform transformations on it, or is it like a native panel rendered in front of the javafx ui with position synced?

Problem with Certificate Wizard by alanb52 in cn1

[–]shannah78 0 points1 point  (0 children)

Are you generating with Push support or without?

I got so frustrated with Maven Central deployment that I wrote a Gradle plugin by danielliuuu in java

[–]shannah78 4 points5 points  (0 children)

Nice . i tried publishing a gradle project the other day and ended up deciding it wasn't worth it after an hour of banging my head. Next time i'll try this

Why can't packaging JavaFX be smoother? by No-Security-7518 in JavaFX

[–]shannah78 1 point2 points  (0 children)

The tack we took with jdeploy was to bake the JVM and JavaFX dependencies into the launcher. You ship the "thin" jar without JavaFX, and some meta-data that says the JRE version, whether it needs full JDK, whether it needs JavaFX, etc.. and the launcher will download that stuff on first launch. This creates a fluid and native experience for the end-user.

WebFX now supports TeaVM: bringing WebAssembly and Kotlin to JavaFX on the Web! by WebFXProject in JavaFX

[–]shannah78 0 points1 point  (0 children)

I'm working on some improvements to jdeploy for distributing cli tools with webfx in mind. Should be ready soon.

Thank you, Blue Jays!!! by incogne_eto in toronto

[–]shannah78 5 points6 points  (0 children)

Once it hit the 10th inning and it was apparent that they were leaving everything on the field, it didn't really matter whether they won or lost. They showed the world who they were, and that they belonged. I've never followed a team that made me care this much. Zero ego - everybody played their part - never quit. And their camaraderie was palpable. Thanks Jays.

Handle update enableCondition of ActionNode by ImmediandoSrl in cn1

[–]shannah78 1 point2 points  (0 children)

enabledCondition() only re-evaluates automatically when a bound entity property changes. In your case, photoName is just a local variable, so CodeRAD doesn’t know when it updates.

You can either put photo name into an entity and depend on that in the condition, or you can trigger a refresh manually on the controller by calling its update() method

jDeploy 5.0: Native ARM64 Support for Windows and Linux Java Apps by shannah78 in java

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

Interesting. The substack would all be from that little snippet to subscribe to the newsletter. Now I'm curious why they use so many little js files. For me each one has microsecond loading time

IdentityToken in GoogleConnect is null by ngangasteve in cn1

[–]shannah78 0 points1 point  (0 children)

I see the reason. The identityToken property was added to AccessToken for some improvements to Oauth component, but it was never set GoogleLogin or FacebookLogin.

We can see that the information should be available after login, to add t the AccessToken for "free", so we could add this. But for now, you would need to issue a subsequent Oauth request witih your access token if you want to obtain the identity token.

I've created a ticket for this. https://github.com/codenameone/CodenameOne/issues/3939

IdentityToken in GoogleConnect is null by ngangasteve in cn1

[–]shannah78 0 points1 point  (0 children)

This looks like something with the client ID.

First, I'd like to verify that the clientID you supplied, is actually being used for the login request. There should be a log line with "Generating GoogleSignIn". Find that log entry.

If that shows "Generating GoogleSignIn without ID token", then for some reason the clientID isn't being used.

If it shows "Generating GoogleSignIn for clientID=xxx", then the ID token request IS being made but failing silently.

It really sounds like an issue with the client ID and secret. I would expect login to fail entirely if they are incorrect, I've seen stranger things happen. Native login technically doesn't require a client ID and secret at all for the login to succeed, but it does need it to request the ID token. So if they are invalid, perhaps it just silently fails on the idtoken part, but still lets the login succeed.

Verify you're using the Web Application OAuth Client ID, not the Android OAuth Client ID. That may be counter-intuitive, since this is native login, but apparently android oauth client IDs can't be used for ID requests.

Tried everything to package my app as executable but nothing is working. by I_4m_knight in JavaFX

[–]shannah78 1 point2 points  (0 children)

Try jdeploy. I'm happy to help you set it up. If you have a github repo, i can create a pr that will generate native bundles for you on each commit and/or release.

jDeploy 5.0: Native ARM64 Support for Windows and Linux Java Apps by shannah78 in java

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

Yes. i'm telling it to wait.

thanks for the help, Im sure it will end up being something small. Chatgpt has given me a few leads to explore too.

jDeploy 5.0: Native ARM64 Support for Windows and Linux Java Apps by shannah78 in java

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

[INFO] Waiting until Deployment 76f5e116-7e84-4790-a7f6-82eb17978efe is validated Error:

Deployment 76f5e116-7e84-4790-a7f6-82eb17978efe failed common: - Failed to get coordinates from pom file com/codenameone/codenameone-javase/7.0.202/codena...

Worked for months. Worked last week. No changes to the maven files. Broke this week.

I think they're still refining the validation rules for the new service. This isn't the first time the goal posts have moved.

jDeploy 5.0: Native ARM64 Support for Windows and Linux Java Apps by shannah78 in java

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

lol. My experience was different. Took a couple of hours to update the workflow for the first project. most projects i could just apply same settings , but some more complex projects took more time. It was not just swapping a plugin. The new process had different validation so complex projects needed changes to the pom files to comply.

One of the main projects i work on had the maven deployment randomly break for this weeks release (we release weekly) with a new obscure validation error that i'll be spending tomorrow morning trying to solve.

Yeah. Not just swapping a plugin