B4J Tutorials

GuessMyNumber - Very simple example



The computer chooses a number and you need to find the correct number.
B4X:
Sub Process_Globals
   Private fx As JFX...
 

Attachments

  • GuessMyNumber.zip
    1.3 KB · Views: 983

String to variable - Iterate variable names

This is a simple idea to replace the function "eval" or "execute" that other programming languages have. The purpose is to retrieve a variable from a string:

How to iterate variable...
 

B4J Change Log (version history)

Last edited:

Working with JavaFX Scene Builder

This is an old and irrelevant tutorial.
 
Last edited:

Parsing huge text files

The JVM (Java Virtual Machine) performance is quite amazing.

This means that we can use B4J to build apps that handle huge files.
I downloaded a 3.7GB log file from this server. Each line...
 

Modules Attributes

The following module attributes are supported:

Main Module
  • MainFormWidth / MainFormHeight - Set the main form initial width and height.
  • AdditionalJar - An...
 
Last edited:

Magnifying glass example



A Canvas node is used to magnify a small window under the mouse cursor.

The main code is:
B4X:
Sub iv_MouseMoved...
 

Attachments

  • MagnifyingGlass.zip
    99.5 KB · Views: 955
Last edited:

RDC client

Attachments

  • RDC-Client.zip
    3.4 KB · Views: 1,518

Moving Smiley Example



This example uses a Canvas node together with a Timer to draw a moving smiley.

The Canvas node is a special node the you...
 

Attachments

  • Smiley.zip
    3.7 KB · Views: 1,610
Cookies are required to use this site. You must accept them to continue using the site. Learn more…