B4J Tutorials

[Web][SithasoDaisy5] Low Code - Using 2 Drawers (left & right) in your app

eu/hansolo/fx/spinner

Edit: A better sample project in post #3 but need the JAR in post #1.

It is based on this Github posting. But could most probably be done in a far more efficient way than what I have...
 

Attachments

  • OdoMeterJHS.jar
    48.9 KB · Views: 270
  • b4jSpinner.zip
    4.1 KB · Views: 251
Last edited:

DotMatrix

It is based on this posting. Copy the attached Jar to your B4J library folder.
Sample project attached
See how the chars scroll across the DotMatrix - the code (via a timer) will...
 

Attachments

  • dotmatrix-17.0.0.jar
    46.3 KB · Views: 263
  • DotMatrix.zip
    2.2 KB · Views: 260
Last edited:

Running Jar with double click (in Java OpenJDK 11+ )

As shared in multiple places in this forum Java 11 OpenJDK does not allow to run jar files directly. (here)

Here is an easy workaround...

1. Run cmd with administrator privilege.
2...
 
Last edited:

[B4X] B4XTable sample working with MinimaList

Attachments

  • example3.zip
    20.9 KB · Views: 280
Last edited:

OdoMeter with JavaObject

Attachments

  • OdoMeterJHS.jar
    49.2 KB · Views: 283
  • b4jOdoMeter.zip
    3.4 KB · Views: 287
Last edited:

[Web][SithasoDaisy5] Building Large Forms with SithasoDaisy5 Low Code Generator for B4X

Monitor with JavaObject

It is based on this Github Project. Need at least Java 17 (me thinks). Maybe useful to someone but then do not expect me to support it. View the Jar and do whatever changes you need to...
 

Attachments

  • monitor-17.0.0.jar
    41.4 KB · Views: 304
  • Monitor.zip
    10.6 KB · Views: 317
Last edited:

TouchSlider

It comes from here. Seems to me you need at least Java SDK 17. I have used 19 for this B4J project - all dome with JavaObject.
Attached the Jar and the B4J project - copy the jar to...
 

Attachments

  • TouchSlider-17.0.0.jar
    36.5 KB · Views: 235
  • TouchSlider.zip
    2.1 KB · Views: 234

[Web][SithasoDaisy5] Let's create some layouts.

Hi Fam

In this post we will look at creating some layouts...

SithasoDaisy5 is available for free here

Here we go.
 
Last edited:

Using Resource Hacker to replace 'OpenJDK Platform' app name and icon

There are a few question threads about using Resource Hacker to make sure that your app name and icon appear everywhere you might want it to such as in the taskbar/Task Manager/File Properties...
 

Attachments

  • image_2021-12-11_191236.png
    image_2021-12-11_191236.png
    80.1 KB · Views: 920
Last edited:

SithasoDaisy2: Let's create a Libs.json Generator for Aeric's Additional Libraries Downloader

Hi Fam

Use Tool hosted on PocketHost

Aeric has created an amazing tool to download Additional Libraries. This however needs a libs.json file for it to work. A sample of that file has...
 
Last edited:

[B4X] B4XTable sample working with SQLite

[B4X] B4XTable Sample 1​

A sample project to demonstrate loading SQLite data into B4XTable
Android Devices data (JSON) downloaded from Internet
GitHub...
 

Attachments

  • example1.zip
    21.3 KB · Views: 313
  • example2.zip
    21.4 KB · Views: 350
Last edited:

AES Encryption Example - Encrypt Plain Text and or files

With this example, you can encrypt and decrypt plain text and files. The following options are available:
  • Text encoding options: Hex or Base64
  • Selectable key sizes: AES-128, AES-192, or...
 

Attachments

  • Screenshot 2025-08-17 113448.png
    Screenshot 2025-08-17 113448.png
    121.6 KB · Views: 392
  • TestEncryption.zip
    10.3 KB · Views: 312

PocketBase - Going behind the scenes with the "--dev" arguement

Hi Fam

In pocketbase there is an arguement that you can pass to your command to start PocketBase that goes behind the scenes and displays each and every command that pocketbase executes...
 

Medusa Clocks with JavaObject

Not meant to take anything away from @teddybear post here but thought I would give the clock a shot by using JavaObject. The attached B4J project creates the 16 different clock...
 

Attachments

  • medusaClockJOClass.zip
    5.4 KB · Views: 258
Last edited:

JavaFX17+ InlineUris

JavaFX17 added the possibility to use inlineURIs. One use for this is to add small CSS Stylesheets from code:

B4X:
Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1...
 
Last edited:

Google OR-TOOLS (Cryptarithmetic Puzzles)

This is a B4J example (using inline Java Code) of using Google OR-TOOLS to solve Cryptarithmetic Puzzles. It is only set up for "CP + IS + FUN = TRUE"

It generates 72 possible solutions...
 

Attachments

  • orToolsCryptarithmetic.zip
    3.4 KB · Views: 215

WebGL library, working with fog.

Hi all,

today I will show how the WebGL library can use the fog in your scene and can be fine tuned by code or by GUI.
This will simulate a real realistic fog. Allowed fog and exponential fog...
 
Last edited:

[Web] Dynamic Database Connectivity with Automatic CRUD REST API - API.PHP

Hi Fam

Original Project

I've been looking at ways to get the api.php file for CRUD REST to work in a dynamic fashion so that I can get it connect to any back-end database.

I found a way...
 

Attachments

  • api.zip
    70.2 KB · Views: 272
Top