Tagged "JBang"

A JavaFX Game Application in a Single Java File with JBang and FXGL

FXGL is a framework to easily create JavaFX-based game applications. In this blog post, I want to show you how this can be done within a single Java-file which doesn’t need a full Maven or Gradle project but can be executed directly with JBang without compilation. This approach can be used as an easy way to get new Java(FX) developers started or create your first experiments with FXGL.

Controlling LED strips with Java

One of the most “fancy” electronic components is definitely a LED strip. It’s really cool to control a long strip of lights with only a few lines of code… But, there is a problem. The timing of the signals is crucial to reliably control these strips. Both Python and Java on a Raspberry Pi can struggle with these timings as they are running on Linux, a non-real-time operating system.

Links of the Presentation: Unlocking the Potential of Bits and Bytes

These are all the links of my presentation at Devoxx Belgium, Wednesday 12:00-12:50, Room 7. Unlocking the Potential of Bits and Bytes: Reducing Data Footprint for Cost and Eco-Efficiency In the age of unlimited storage space, we forget to consider the financial and ecological costs. Transmitting and storing data in XML, JSON, or (if you want to hurt people) YAML makes data human-readable, which is great for debugging and testing but is a very inefficient, heavy, and expensive way of handling data.

Reading the temperature, humidity, and pressure from a BME280 Sensor with Java, Pi4J, I2C, SPI, and JBang

To make it as easy as possible to get started with Java on the Raspberry Pi to interact with electronic components, I started a new section on the Pi4J website with JBang examples. In this tutorial, I want to show you how you can read the temperature, humidity, and pressure from a BME280 Sensor.

Interview by Bazlur Rahman: Unlocking Java Secrets with Frank Delporte - Insights, Stories, and Tips for Success

On Foojay.io, Bazlur Rahman is publishing a series of interviews with various people from the OpenJDK community. I had the honor to be included in this series, and this is a repost. Welcome to our exclusive interview with Frank Delporte, a Senior Technical Writer at Azul, Java Champion, and a passionate advocate for all things related to Java and Java on Raspberry Pi.

Hidden Beauties of Java Enums

Let’s take a look at the power and beauty of what Java Enums can provide… I also created a video describing the same topics based on this article, so you can follow along combining both the video and this post. What is an Enum? Enums are the preferred way to define fixed values you want to use in your code.

JavaFX Links of February 2023

February is a short month, but this list seems to be longer than ever… A lot of game development, releases, interesting ongoing development, and so much more to read. Enjoy reading and clicking! This is the summary of the #LinksOfTheWeek as published on jfx-central.com during February. JavaFX/OpenJFX Core Kevin Rushforth of Oracle announced on the mailinglist “As a reminder, JavaFX 20 is now in Rampdown Phase Two (RDP2).

Devoxx Belgium and J-Fall The Netherlands - Links

Links used in my talks at Devoxx 2022 (Antwerp, Belgium) and J-Fall (Ede, The Netherlands). Book “Getting Started with Java on the Raspberry Pi Twitter Frank #JavaOnRaspberryPi Work Televic Rail Eeve Azul foojay.io Website - Friends of OpenJDK Controlling Electronics with JBang on the Raspberry Pi All Raspberry Pi articles (over 50!

Getting Started with Java on the Raspberry Pi

For sale as ebook on Leanpub, with continuous free updates! Introduction When I first managed to blink a LED connected to a Raspberry Pi with Java, I was super excited! Controlling physical things with some lines of code is magic! This book includes a lot of info and history about Java itself and how to install it on the Raspberry Pi.