B4JSnippetOther
Form Change Cursor Image
A snippet which changes the form cursor to an image which is located in the files (dirasset) folder.
@rwblinn · 2016-11-07
B4JSnippetRegEx
IP Address validation using RegEx
IP Address validation using RegEx for IPv4 and IPv6
@mindful · 2016-11-07
B4JSnippetB4J Server [SERVER]
Persistent sessions [Server]
Session are usually stored in memory so if you restart the server all the sessions (including their attributes) will be lost. So if you want to save sessions data on disk place the code below in the code module and call the sub ServerUsePersistentSessions.
@mindful · 2016-11-07
B4JSnippetB4J Server [SERVER]
Session and session attribute events [Server]
Session and session attribute events [Server]
@mindful · 2016-11-07
B4JSnippetStrings
IsEmptyString() function
Returns True if x parameter is empty string or null
@amminf · 2016-11-03
B4JSnippetABMaterial [ABMATERIAL]
New component ABMCustomCard in 2.01 [ABMaterial]
ABMCustomCard allows you to build revealing cards using all kind of other ABMComponents.
@alwaysbusy · 2016-11-03
B4JSnippetComms & Network
Additional jServer (web server) Setting Snippets
Just thought it would be good to keep additional jServer/Jetty/Web Server settings in one place.
@tchart · 2016-11-02
B4JSnippetTooltip
Add a ToolTip to an ImageView
Add a ToolTip to an ImageView
@rwblinn · 2016-10-27
B4JSnippetRegEx
Email validation using RegEx
This regex example uses all the characters permitted by RFC 5322, which governs the email message format.
@mindful · 2016-10-26
B4JSnippetRegEx
Password validation using RegEx
Tests given password against the given rules
@mindful · 2016-10-26
B4JSnippetABMaterial [ABMATERIAL]
new in 2.00: multiple sidebars [ABMaterial]
new in 2.00: multiple sidebars [ABMaterial]
@alwaysbusy · 2016-10-12
B4JSnippetGame
Tower of Hanoi (with solution)
Tower of Hanoi (with solution)
@BeneBarros · 2016-10-10
B4JSnippetComms & Network
external Ip
Some ISPs dont supply fixed Ip adresses. It will change mostly every day. For remote controlling you can use DynDns or NoIp. But a adding a little code will provide you (via mail for example) the current Ip adress
@MbedAndroid · 2016-10-07
B4JSnippetSMS
SMS cost of the tariff plan of the smartphone with mysms API
SMS cost of the tariff plan of the smartphone with mysms API
@FabioRome · 2016-09-14
B4JSnippetABMaterial [ABMATERIAL]
New component ABMChronologyList (2.00) [ABMaterial]
The ABMChronologyList is a vertical timeline component. Useful to give an overview of a limited period. It is device aware so e.g. on a phone, all items will be one under each other.
@alwaysbusy · 2016-09-05
B4JSnippetDate/time
DateTime minus milliseconds
DateTime minus milliseconds
@tchart · 2016-08-29
B4JSnippetColour
HTMLEditor add B4J ColorPicker View to Top-Toolbar
Example of adding the B4J ColorPicker View to the Top-Toolbar of the HTML Editor View.
@rwblinn · 2016-08-27
B4JSnippetDatabase
Pagination with dbutils
Pagination with dbutils
@icefairy333 · 2016-08-24
B4JSnippetOther
GetScreenPosition
This snippet gives you the screen position of a node in your application. Useful when you have a pop-up that needs to be aligned to a control, like a tooltip for example.
@jmon · 2016-08-20
B4JSnippetGame
Bingo (Scratch)
Small bingo scratchcard.
@BeneBarros · 2016-08-08
B4JSnippetGame
Sokoban
Sokoban
@BeneBarros · 2016-07-29
B4JSnippetFile handling
B4J File Utils
File / file system utilities
@sonicmayne · 2016-07-22
B4JSnippetABMaterial [ABMATERIAL]
New component ABMPatternLock (1.20) [ABMaterial]
New component ABMPatternLock (1.20) [ABMaterial]
@alwaysbusy · 2016-07-11
B4JSnippetMaths
Return Rnd number in step mode
Return Rnd number in step mode
@ilan · 2016-07-10
B4JSnippetGame
FreeCell (Simple)
FreeCell (Simple)
@BeneBarros · 2016-07-02
B4JSnippetGame
Solitaire (simple)
Solitaire (simple)
@BeneBarros · 2016-06-29
B4JSnippethttp
Get Stock Data
B4J NON-UI application snippet to get stock data from Yahoo Finance using HTTP and JSON.
@rwblinn · 2016-06-13
B4JSnippetDrawing
Draw your smiley and anime
Draw your smiley and anime
@BeneBarros · 2016-06-08
B4JSnippetTable/Grid
Set the resize policy of tableview columns
Two options to set the resize policy of TableView columns.
@rwblinn · 2016-06-08
B4JSnippetButton
Set all buttons CSS style to transparent
Just a neat little one to set the CSS style of all buttons in one go to transparent using the CSSUtils library.
@rwblinn · 2016-06-05