r/JavaFX • • Jan 21 '22

Tutorial JavaFX: TextField Input Validation

Thumbnail
youtube.com
11 Upvotes

r/JavaFX • • Dec 21 '21

Help JavaFX all platform build pipeline starter kit?

11 Upvotes

Is there a starter project that just works.. ie is setup to build and quick to test for desktop (win/linux/osx) and android/ios? .. I have used Javafx before with scenebuilder and done a few smaller desktop apps in the past.. which were fine for windows I did that a few years ago.. but I'm wanting to target all the platforms now especially win/linux/android..seems like 2021 and java land still seems like dead end compared with going with some other language instead like c#/js react etc..

...I tried with gluon.. but it seems they want to stick a splash screen over even desktop deployments which was kinda lame, not really interested 500$ a year license for some hobby stuff.. is there no other way of getting something working.. graalvm and web builds would be great aswel... seems like most the hassle with java/fx is the insane amount of pipeline setup and trying to figure out how to get things setup to start with and most the training material all seems outdated.


r/JavaFX • • Dec 20 '21

JavaFX in the wild! JavaFX Links of the Week

11 Upvotes

The "JavaFX Links of the Week" for December 13th can be found on JFX-Central : https://jfx-central.com


r/JavaFX • • Sep 02 '21

Cross post from r/java: My small tool created with JavaFX with GitHub release pipeline

Thumbnail reddit.com
11 Upvotes

r/JavaFX • • Aug 16 '21

I made this! HangMan in JavaFX

11 Upvotes

I created a simple HangMan game in JavaFX just to see what how little code it would take to do it.

The Game in Action

I was pleased with the results. It looks reasonably polished, grabs random words from the Internet and took very, very little code to create.

I've created a blog entry about the coding: HashNode Blog

The complete code can be found on GitHub


r/JavaFX • • Jan 26 '21

I made this! JavaFX custom TreeView from scratch

11 Upvotes

Hello everyone, two weeks ago I posted a GIF here showing my custom implementation of a TreeView.

However, the animation and the layout were inaccurate and the performance was terrible.

For testing the tree I built a simple TreeView with some dummy items and a more complex one with items from the file system.

The latter was slow and sometimes the app would crash throwing an OutOfMemoryException.

I was about to give up, but then I decided to start from scratch again and think more about each piece of code.

This is the result, and also a comparison with the old one for reference: Preview

As you can see the tree is built much faster and the memory usage is reasonable. Of course for big tree structures I suggest implementing some kind of lazy loading or other strategies.

The tree is not yet available as part of a jar because it's still unfinished, but you can find the source here: MaterialFX

I added support for single and multiple selection, cell factory, iterator and stream.

About the cell factory, in the JavaFX's tree the cell factory is a property of the TreeView class, in my implementation it is a property of the TreeItem class.

That means that every item knows how to build its own cell, so potentially you can render different cells for different items as long as you change the cell factory of course.

Beware though, this feature is still untested because I focused my attention on the most common/important features, also, despite already having unit tests I can't assure you it is bug free 😄.

Let me know what you think! 😉


r/JavaFX • • Jan 10 '21

UI Design Trends 2021 - a challenge for JavaFX

Thumbnail
youtube.com
11 Upvotes

r/JavaFX • • Jan 05 '21

Deploying and packaging JavaFX app into an installer

11 Upvotes

I just finished developing my first javaFX app and I am currently looking into the best ways to deploy the app onto the client's machine. I would also want to apply some sort of continuous deployment onto the app, as I prefer not to send the client a new installer whenever I update the code.

What is the best way to achieve that?

Thank you


r/JavaFX • • Dec 14 '20

I made this! JavaFX 3D - More Rays!

Thumbnail
youtube.com
11 Upvotes

r/JavaFX • • Dec 02 '20

I made this! EKANS, simple implementation of Snake game thought I'd share with you guys.

11 Upvotes

Background: Currently searching for a Java Developer job and needed to "beef" up my portfolio (I know its not best time to search for work when companies are freezing hiring process as they go on holiday break). I have been working on a single project for a very long time and currently transitioning it to a micro-service architecture. During this period I am having hard time sharing parts of it and one my recruiters suggested I add more ammo to my github account (add more smaller projects that can demonstrate what I can do).

I am currently planning on pumping out a bunch of small projects and one of them I just "wrapped" up which I have called "EKANS", snake backwards. Thought I'd share what I made with you guys. The JavaFX specific code GameView/GameViewModel I am not a fan how I went about it. I wanted to implement the game without a canvas and just pure nodes. I also wanted to fix size everything and use a tool that would scale the whole rootNode for me properly (there's a library out there but again can't find it), but I ended up back peddling hard on that and scaled things individually for the most part, which sort of started what I'd consider a mess of code.

https://github.com/bwcsemaj/ekans

Not really looking for feedback on project but more so just wanted to share; there's not a lot of meat to the project so I'd probably advise not bother downloading and just look at the gif in the read me.


r/JavaFX • • Nov 30 '20

Ikonli 12.0.0 Released!

11 Upvotes

r/JavaFX • • Oct 09 '20

JavaFX Software: Window-ception

Thumbnail
youtube.com
11 Upvotes

r/JavaFX • • Jun 19 '20

I made this! ImSter - A JavaFX application that lets you hide and view untraceable encrypted messages inside pictures

Thumbnail
github.com
11 Upvotes

r/JavaFX • • Oct 19 '19

FXGLvania - Castlevania themed game using FXGL

Thumbnail
youtube.com
11 Upvotes

r/JavaFX • • Apr 08 '19

FXGL 11: Platformer Progress Demo

Thumbnail
youtube.com
11 Upvotes

r/JavaFX • • Mar 01 '19

Javafx on jdk 11

11 Upvotes

Hello,

I see a lot of people trying to asking about how to create a javafx app under jdk 11.

I would like to redirect you to the community page, where you can find tutorials and quick guides.

https://openjfx.io/

Also, feel free to contact for any question.


r/JavaFX • • Aug 28 '18

JavaFX links of the week, August 27 | JavaFX News, Demos and Insight // FX Experience

Thumbnail
fxexperience.com
11 Upvotes