B4J Tutorials

Make a simple 3D game with WebGL library, with gravity and collisions in less than 300 lines of code.

Hi all,

this code will show how to make a simple 3D game, with gravity and collisions by code without use any physics engine.

I want to remember that with WebGL library you can use more than one...
 

Attachments

  • jWebGL_SimpleGame.zip
    292.8 KB · Views: 191
  • Screenshot 2025-03-11 150808.jpg
    Screenshot 2025-03-11 150808.jpg
    160.6 KB · Views: 219
Last edited:

SithasoDaisy TailwindCSS UI Toolkit: Q & A

Hi there

NB: Where possible, please include a simple project that demonstrates your use case.

Do you have any questions about SithasoDaisy UI Toolkit?

You can shoot it here...
 
Last edited:

Raspberry Pi 5 - first steps

Getting the RPi 5 to work with B4J is very simple.

I've tested it with the recommended 64 bit Raspbian OS (bookworm).

1. Download and unpack the Linux ARM Full JDK (21)...
 

Shrinking that SQLite JDBC library!

NOTE: This isnt recommened for everyone, this is just something that works for me. Removing support for specific platforms could cause your app to stop working.

I use SQLite for a lot of...
 
Last edited:

[B4X] [PyBridge] Desktop - Mobile Communication based on BLE (Bluetooth Low Energy)

Attachments

  • B4XPeripheral.zip
    181.1 KB · Views: 175
  • B4JCentral.zip
    4.6 KB · Views: 194

Deutsche Post Internetmarke - get Stamps per Api

This Thread is about the german Post and their free Api Service for Postalstamps and other Services...
 
Last edited:

[Web][SithasoDaisy5] Designing Web Forms with SDUIPreferences - Part 1

Last edited:

Integrated B4JPackager11 - The simple way to distribute standalone UI apps

B4JPackager11 is a utility written in B4J that uses the underlying Java tools to create a standalone package that doesn't depend on any other software being installed.
It works with OpenJDK 11 and...
 

Attachments

  • jssc.zip
    69.6 KB · Views: 230
Last edited:

Cache for WebApp was keeping previous version of .js file - How to fix

This was the first time I faced something like this and it was Chrome's fault. Here is what happened:

I added in a .js file a new javascript function. When I tried to call it, Chrome was saying...
 

[Web][SithasoDaisy5] Designing Forms with the Abstract Designer

Hi Fam

SithasoDaisy5 Demo

Before you start this tutorial, please ensure that your dev environment is setup by following this tutorial...
 
Last edited:

FXThemes

Now I have a windows 11 PC and thanks to a prod from one of @Cableguy posts on another thread, I finally got round to looking at an alternative to my Replacement Titlebar lib.

This...
 
Last edited:

jBluetooth under Linux: also works

Last edited:

Creating Linux DEB-package for GUI B4J app

This tutorial is made for Linux JDK14 set Java + JavaFX for B4J practically, AI suggestions were partially OK only.
The .jar app file is compiled at Windows developer host.

Building a DEB...
 

Attachments

  • TempDownload.png
    TempDownload.png
    10.5 KB · Views: 162
Last edited:

B4J-Bridge dockerimage

[PyBridge] Linear regression with scikit learn

Attachments

  • Project.zip
    27 KB · Views: 170

[PyBridge] Tips to make life easier

1, Download VSCode to edit the Python source files (you get hints etc)
2, Put the Python source code in files directory. (set external tool to VSCode for easy editing)
3, Run the code from...
 
Last edited:

MathArt

Sure you will figure it out. Four rotating/pivoting arms of different length and rotating at different speeds (some CW and some CCW) to make all kinds of interesting drawings. Change the speed /...
 

Attachments

  • b4jMathArt.zip
    2.9 KB · Views: 210

HTMX+Bootstrap5+MiniHTML+WebApiUtils+Server

Attachments

  • WebApiUtils.b4xlib
    8.9 KB · Views: 191
  • MiniHtml.b4xlib
    19.8 KB · Views: 184
  • htmx-b4x.zip
    3.2 KB · Views: 187
Last edited:

Tip : B4XLib documentation

I recently spent half a day on a wild goose chase trying to find out what was going on with SQLCipher, while the issue turned out to be B4XTable.b4xlib containing an #AdditionalJar for...
 

Trace of a point on a rolling wheel

1737802553488.png
 

Attachments

  • b4jRotatingWheel.zip
    2.2 KB · Views: 172
Last edited:
Top