sci-fi

  • Learn JShell with JavaFX in 60 Seconds

    We started with an introduction of the basics of using jshell. Next, you got a chance to learn how to run a JavaFX application file from a terminal command prompt and from within jshell’s command prompt.

    After that, launching the application we were able to change the color interactively by setting the public static member variable color.

    Lastly, we learned how to stop a JavaFX application properly via /reset command.

    Read more
  • Creating a JavaFX World Clock from Scratch (Part 6)

    Hello, and welcome to the last part of this series of articles on creating a JavaFX World Clock from scratch!

    In this part, I will show you how to make WebService calls (RESTful) to retrieve weather data based on geographic locations.

    If you remember, in Part 5 you learned how to use the JavaFX WebView and the popular mapping library Leaflet JS enabling the user to discover geographic locations. In Part 6, I will show you how I used Java 11’s Http Client to retrieve and display weather content. If you are new to this series, you can visit Part 1-5.

    Read more
  • Creating a JavaFX World Clock from Scratch (Part 3)

    Do you ever get bored of the plain old UI Forms? Often, UI forms will have nice visual cues and validation icons as feedback when the user has typed something incorrectly.

    In Part 3, I’ll be discussing the UI form section of the JavaFX World Clock that allows the user to add and modify timezone locations. While building Java apps using the new module system can be a bit of a challenge, here I will show you how I was able to successfully build a modern MVC based JavaFX UI!

    Read more
  • Creating a JavaFX World Clock from Scratch (Part 2)

    In this part of the series, you’ll get a chance to use some math and trig skills to determine how to position parts of the hour hand.

    After learning how to convert the math to usable functions, you get a chance to see JavaFX’s FXML annotations to reference nodes on the scene graph.

    Lastly, you’re able to see animations of the hour hand move about the clock face.

    Read more
  • Creating a JavaFX World Clock from Scratch (Part 1)

    Welcome to Creating a JavaFX World Clock from Scratch (Part 1)! In this series of blog entries I would like to show you how I created a “sci-fi” looking world clock that happens to be a cross-platform Java desktop application.

    Here I will explain my thought process, development workflow, and of course JavaFX code details. Since it’s still in the early stages, you can tune in by commenting or joining foojay’s Slack channel at foojay.slack.com [2], where I and others (Java experts & friends of OpenJDK/OpenJFX) can offer advice.

    Read more

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard