B4J Tutorials

[BANano] why you might need parseBool

Ola

I use a lot of parseInt and parseFloat when I code because even when I define the variables as Int, Double, Float etc, somewhere somehow mistakes happen, you find your app not working and...
 

[Tool] Integrated B4JPackager11 helper: PrepInstallerScript (with source code)

I was making the switch from Java 8 to Java 11 and wanted to use the 'Integrated B4JPackager11' as explained by @Erel in...
 

Attachments

  • PrepInstallerScript.zip
    5.5 KB · Views: 350

How to run .jar files on MacOs + VM to test (and other MacOs things)

Hi,

I had to make my application (PostChat) available on MacOs. I had no problems porting the app to Linux, but I found the port to MacOs very annoying, and had lots of issues. So I'm posting...
 

[BANano] Using an external Editor like WYSIWYG Web Builder with B4J/BANano

Attachments

  • WYSIWYGWebBuilder.zip
    177.1 KB · Views: 702
Last edited:

[jPOI] Migration to version 5 Mac

For Mac
as already suggested by the good @KMatle

I needed to remove the Packager property (The B4J-packager does it on it's own with the new version)

Note 1*
B4X:
'#PackagerProperty...
 
Last edited:

Tag management for UI Nodes

In B4XPages we rely heavily on tags to identify UI elements. Yet tags are valuable for connecting data to the UI, too, and it is easy to feel we are wasting tags for identification.
There is a...
 

[BANano] Why it is important to use unique names for your elements when not using AutoID?

Ola

I just spent some time nearly sweating as to why my app was not working properly. Turns out that my element names are not unique and as such a conflict arose.

1624993108777.png


Background...
 

[XLUtils] Creating MS Word Documents

1623939091609.png


XLUtils v2.00 adds support for creating MS Word documents, and converting Word documents to PDF.
It is done in a similar way to BCTextEngine, using custom BBCode. This works...
 

Attachments

  • WordExample.zip
    16 KB · Views: 602
Last edited:

[BANano] Creating PDF Documents with jsPDF using BANanoJsPDFAD

Ola

As you are aware, the BANanoJsPDFAD tool is out. Its developed using jsPDF and it uses the abstract designer for you to create pdf Documents.

You can insert text, triangles, images...
 

[XLUtils] Word document with 200 charts

Attachments

  • 1.zip
    79.4 KB · Views: 367

[XLUtils] Word - bookmarks, urls and page breaks

1624261177989.png


XLUtils v2.02 adds support for urls, bookmarks and page breaks.

A paragraph tag with the PageBreak attribute will start on a new page.
B4X:
$"[p PageBreak=True]This will appear...
 

Attachments

  • WordExample.zip
    16.5 KB · Views: 341

[B4X] Proxy Server Socks 4 and Proxy Http (Source Code)

Many years ago I needed to sniff a connection and I didn't have a free sniffer available and I didn't know how to create one .... So after a long reflection I decided to create a Proxy Server in...
 

Attachments

  • Sock4.zip
    5.6 KB · Views: 324
Last edited:

[jPOI] Migration to version 5 experience (not a big thing)

Just a short note how my experience was migrating to JPOI5. Not worth a tutorial - more a "all easy note" when you migrate an important app (like mine which is used by a company).

I needed to...
 

javafx charts / graphs - LineChart, PieChart, BarChart, AreaChart, Horizontal BarChart, Stacked BarChart, Stacked AreaChart

This is an "inline java code" example for the javafx line chart. It has very basic functionality at present.

You will need javafx.controls.jar. I found the jar on my computer at...
 

Attachments

  • LineChart.zip
    4.4 KB · Views: 383
Last edited:

[XLUtils] Hyperlinks and Outlining / Grouping

XLUtils v1.03 adds support for grouping rows and columns and for adding links.

1620140576016.png


Grouping is done with XLSheetWriter.GroupRows / Columns.
By default the expand button is positioned at...
 

Attachments

  • CovidDataOutlining.zip
    9.9 KB · Views: 326
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
    38 KB · Views: 784
Last edited:

jServer & SQLite [Multiple Request Stress Test]

Should I use SQLite as my web server database?

This has come up before and last week it came up again in the "Chit Chat" forum. The question has already been answered here before and there...
 

Attachments

  • StressSQLite.zip
    5.9 KB · Views: 466
Last edited:

[B4J] - Lottery for Telegram (Source)

Hi all,
Used to make a lottery in Telegram.
You can expand the UI of this app and use it like TV lotteries.
for example: (Be sure to watch the clip)

this zip file has a...
 

Attachments

  • Lottery-V1.zip
    3.9 KB · Views: 415
Last edited:

[BANanoVuetifyAD] vuetify.GetElementByID

Hi to all
it's probably not the right way, so I'm asking you where I'm wrong
This Sub is in pgIndex (about is another code module)
B4X:
Sub btnlogOff_click(e As BANanoEvent)
    If about.login =...
 

[WebApp] Web Apps Overview

SS-2014-04-10_17.09.21.png


B4J v2.00 adds support for web applications based on WebSocket technology. With WebSocket The browser and the server...
 

Attachments

  • ServerExample.zip
    75.1 KB · Views: 1,438
  • ServerExampleNoMySQL.zip
    71.8 KB · Views: 1,474
Last edited:
Top