B4JTutorialBAnano [BANANO]
Creating libraries [BANano]
Creating libraries [BANano]
@alwaysbusy · 2019-01-16
B4JLibraryMultiple items
jAWTRobot
This library started out as a simple wrapper for Oracle''s java.awt.Robot package but it evolved out of hand into a library of general utilities. Some of these functions appear to duplicate functionality already present in B4J however this library is designed to be used in both UI apps and non-UI apps. Consequently, B4J functionality that requires the use of a JFX object (fx.showExternalDocument(), for example) is duplicated here but without the use of any objects only found in UI apps. Things you can do with this library: •programmatically move the mouse and invoke system MouseButtonPressed events or KeyPressed events and much more •access the system clipboard •get a variety of general operating system, hardware and JVM info •get a variety of JVM, process and system performance info (memory usage, CPU load, etc...) •take screen shots of arbitrary rectangles on the system''s screens •run arbitrary commands on the command line •redirect Standard Error and Standard Out to file •open external files or URLs •improved Exception-related stuff •improved Thread-related stuff •restart your app The library is very heavily commented so you need only read them to see what is possible.
@Roycefer · 2019-01-15
B4JLibraryPush notifications
jAPNS - Send iOS Push Notifications
jAPNS allows you to access Apple''s Token-based Http/2 APNS API in order to send iOS Push Notifications
@JanPRO · 2019-01-12
B4JTutorialBAnano [BANANO]
inline php -> server code [BANano]
inline php -> server code [BANano]
@alwaysbusy · 2019-01-07
B4JSnippetFile handling
Find user documents folder
Find user documents folder. Tested on Windows and Mac only.
@Erel · 2019-01-03
B4JSnippetExcel
jPOI clear a work sheet
I needed a way to re-use an Excel worksheet. The existing B4J library has no methods for this, and I couldn''t find anything related on this forum. So I used the Java object to implement what I needed. The solution is based on StackOverflow suggestions.
@William Lancee · 2018-12-27
B4JSnippetUpdater
Autoupdate APP
I needed a auto-update system for jar application. Because my last project work alot of PC in my company. Eaxh time; I must update with manually; Therefore ; I prepared small NON-UI app.
@Tayfur · 2018-12-26
B4JSnippetB4J [NO CONSOLA]
Something to do instead off StartMessageLoop in UI Application [No consola].
Something to do instead off StartMessageLoop in UI Application [No consola].
@netsistemas · 2018-12-25
B4JSnippetList- and scrollview
ListView scroll changed event for lazyload
This is useful to lazy load a listview, as customlistview costs more memory. This is the reference webpage: https://www.superglobals.net/javafx-listview-lazy-loading/
@xulihang · 2018-12-21
B4JClassAI/ML
B4J Neural Network Class
Use of the Neural Network Class with two sample applications.
@claudiob4 · 2018-12-21
B4JSnippetSpinner
B4J Spinner - Simple
This is a simple spinner for B4j (though it would easily port to B4a) based on a canvas object. I ''looks'' more like the spinners used in B4A than the combobox offering in B4J. The Spinner continuously rotates around the string array data provided and outputs the center value as an ''answer'' on each mouse click. The background image size needs to be scaled to match the cvs size you use.
@rodmcm · 2018-12-20
B4JTutorialB4J
B4J-Bridge dockerimage
A friend of mine created a docker image for me to debug apps on my server quickly and easily. I am happy to share this with you. https://hub.docker.com/r/o0shojo0o/b4jbridge
@Blueforcer · 2018-12-18
B4JTutorialBAnano [BANANO]
BANanoObject talks with Javascript [BANano]
BANanoObject talks with Javascript [BANano]
@alwaysbusy · 2018-12-16
B4JSnippetTooltip
Consistent Tooltips
Something which has been bugging me recently and finally got round to looking at it. I think the tooltip inherits it''s font settings from the control. They can look very inconsistent if using FontAwesome or Material Icons. This snippet makes them consistent.
@keirS · 2018-12-15
B4JLibraryBAnano [BANANO]
Leaflet-Wrapper [BANano]
This is a wrapper that allows you to use the functionality of the JavaScript library Leaflet with B4J in conjunction with BANano.
@Kiffi · 2018-12-13
B4JSnippetEditText/Textview/TextArea/TextField
Moving Cursor to end of text in TextField
Normally, moving the cursor to the end of a TextField is a one-liner. But when you tab from TextField to TextField, inserting this into the _FocusChanged event doesn''t work, and the field is left with all the text selected and the cursor blinking at the start of it. I believe this has something to do with the exact state of the textbox when the event execution has not yet been completed. I was surprised at how many people had questioned how to do this, and the convoluted solutions offered -but very few for B4J. Here is some simple code I have found that works for me. Tested in B4J, haven''t tested it in B4A.
@GuyBooth · 2018-12-09
B4JTutorialBAnano [BANANO]
Ajax calls [BANano]
Ajax calls [BANano]
@alwaysbusy · 2018-12-06
B4JTutorialRaspberry Pi
B4J and Raspberry Pi boards
B4J and Raspberry Pi boards
@Erel · 2018-12-05
B4JLibraryJava
jScriptEngine
Here is a small library that allows use of javascript from B4J. Some functions are easier to perform in js as you have basically all the java functions at your disposal to use.
@Daestrum · 2018-12-04
B4JTutorialBAnano [BANANO]
Events [BANano]
Events [BANano]
@alwaysbusy · 2018-12-04
B4JSnippetMaths
Gamma and Beta functions for computing Cumulative Distribution Functions
Gamma and Beta functions for computing Cumulative Distribution There are numerous implementations of Gamma and Beta functions in many computer languages. This is my implementation for B4X as applied to statistics.
@William Lancee · 2018-12-03
B4JTutorialABMaterial [ABMATERIAL]
TIP: ... and wait for [ABMaterial]
TIP: ... and wait for [ABMaterial]
@alwaysbusy · 2018-12-02
B4JSnippetABMaterial [ABMATERIAL]
Deciding on a Christmas gifts using Mermaid [ABMaterial]
Deciding on a Christmas gifts using Mermaid [ABMaterial]
@Mashiane · 2018-12-02
B4JSnippetExcel [DISPLAY VALUE]
jPOI Get A Cells Text Property [Display Value]
The code is the equivalent of the VBA .Text property of a cell. It''s the value displayed to the user including formatting such as thousands separators,decimal places and currency. It requires the latest version the jPOI library that wraps Apache POI 4.00.
@keirS · 2018-11-30
B4JSnippetOS
Windows, Mac or Linux?
Detect the OS on which the program runs
@Erel · 2018-11-28
B4JSnippetImages
Get the FileIcon from a file
Get the FileIcon from a file
@DonManfred · 2018-11-26
B4JLibraryB4J
Updated JSSC.Jar
I fixed and recompiled the Native DLL for JSSC which was causing Access Violation crashes when attempting to open a serial port on Windows 10 64 bit systems with newer Java versions.
@techknight · 2018-11-23
B4JLibraryOther
ABPlugin
This little library makes it possible to create Live plugins for you own apps. This means you can create plugins that can be added/removed while your app is running. Note it is a little experiment that shows the power of B4J. The ''compile to library'' feature of B4J is very handy to create plugins.
@alwaysbusy · 2018-11-23
B4JTutorialPrint
Printing on A4 and Letter sized paper
A quick tutorial on how to print on A4 or Letter sized paper using the follow information provided by Steve Laming (better known as @stevel05).
@Peter Simpson · 2018-11-17
B4JSnippetABMaterial [ABMATERIAL]
Star Ratings custom component [ABMaterial]
Star Ratings custom component [ABMaterial]
@springer kow · 2018-11-08