B4JTutorialB4J Server [SERVER]
Building web servers with B4J [Server]
Building web servers with B4J [Server]
@Erel · 2017-08-09
B4JTutorialOS
Killing forgotten Java processes
If you run a non-ui app in release mode and then close the IDE, then the process will continue running. It is difficult to later kill it with Windows task manager as all the Java processes names are java.exe or javaw.exe. You can use jps, a command line tool included in Java JDK, to find the correct process.
@Erel · 2017-08-08
B4JSnippetApp startup
Splash Screen B4J
Simple sub to create a splash screen.
@Erel · 2017-08-07
B4JLibraryB4J
Skeleton (CSS + Library)
While ABMaterial is fantastic, I find it onerous for simple websites. A while back I came across the Skeleton CSS framework; http://getskeleton.com/ Skeleton is a grid based mobile responsive CSS boiler plate. It worked fine for a couple of projects but I still had to hand craft HTML. So I decided to create a B4J library to automate the creation of HTML pages using the Skeleton CSS. I''ve tried to keep it as generic as possible and I have not introduced any direct changes to the Skeleton CSS but have extended it using additional CSS like Fontawesome and a 3rd part notification CSS for Skeleton. I take no credit for any of the CSS libraries. The B4J library can actually be used to generate generic HTML code as it has a helper class which is used to generate the Skeleton specific markup. The Skelton CSS can also be replaced by other CSS. The examples below show server handlers but as the Render method simply returns a string (of HTML) you can use it to write out HTML files (I use this for a reporting product I wrote).
@tchart · 2017-08-04
B4JSnippetTheme
Dark theme - base color
Dark theme - base color
@Erel · 2017-07-25
B4JLibrarySearchView [CUSTOM VIEW]
SearchView [custom view]
A custom view similar to B4A and B4i SearchView
@Erel · 2017-07-24
B4JSnippetStrings
Processing an EDN string
Sample code for reading and traversing an EDN structure. EDN is a more flexible data interchange format, than JSON.
@B4JExplorer · 2017-07-22
B4JTutorialGoogle
Google Play Developer API
Google Play Developer API allows you to access your developer account and do all kinds of things. For example get the latest app reviews or check the status of in-app purchases.
@Erel · 2017-07-19
B4JSnippetB4J Server
jServer v2.80+ Enabling TLSv1.1
TLS v1.1 is disabled in the latest version of jServer, as it is disabled in the underlying Jetty SDK. It is considered a weak protocol and should be kept disabled in most cases. However if you need to access the server with an old client then you might need to enable it.
@Erel · 2017-07-16
B4JTutorialTable/Grid
TreeTableView
TreeTableView is a new control added in B4J v5.80. TreeTableView is very similar to TreeView where each item has multiple values instead of a single value. The columns are set with the designer or by calling TreeTableView.SetColumns. Note that unlike TreeView which only works with string items, TreeTableView items can be strings, numbers or nodes.
@Erel · 2017-07-13
B4JTutorialABMaterial [ABMATERIAL]
IMPORTANT change for B4J 5.80 [ABMaterial]
IMPORTANT change for B4J 5.80 [ABMaterial]
@alwaysbusy · 2017-07-13
B4JLibraryJSON
json-simple2(keep the json order)
usage same as JSONGenerator
@icefairy333 · 2017-07-12
B4JTutorialABMaterial [ABMATERIAL]
Related MaterialCSS Experiments [ABMaterial]
Related MaterialCSS Experiments [ABMaterial]
@Mashiane · 2017-07-08
B4JTutorialABMaterial [ABMATERIAL]
Exploring Creative Tim [ABMaterial]
Exploring Creative Tim [ABMaterial]
@Mashiane · 2017-07-08
B4JTutorialhttp
Making an extensible Web Server with jServer
Making an extensible Web Server with jServer
@tchart · 2017-07-07
B4JLibraryB4J
jarLoader
This library will load jar files at run time without having to use #AdditionalJar
@tchart · 2017-07-07
B4JSnippetTabPane
Looking form MDI form?
Looking form MDI form? With a TabPane.
@jroriz · 2017-07-03
B4JTutorialABMaterial [ABMATERIAL]
Implementing LiveHelp for your WebApp [ABMaterial]
Implementing LiveHelp for your WebApp [ABMaterial]
@Mashiane · 2017-06-29
B4JTutorialABMaterial [ABMATERIAL]
Creating a simple UD file manager [ABMaterial]
Creating a simple UD file manager [ABMaterial]
@Mashiane · 2017-06-28
B4JTutorialB4J
B4J Download and Install
Most updated instructions are available here: http://www.b4x.com/b4j.html
@Erel · 2017-06-28
B4JSnippetMaths
Math functions
Constants: e = base of the natural logarithm = 2.71828182845905 pi = 3.141592653589793 Trigonometric sin(x); cos(x); tan(x); asin(x); atan(x) Hyperbolic sinh(x); cosh(x); tanh(x) logarithm logn(x); log10(x) Exponential Exp(x) = e raised to x power Other abs(x); sqrt(x); round(x); int(x); frac(x) Operators +; -; *; /; ^ @ = logarithm Number@base Ex.: 10@5
@BeneBarros · 2017-06-27
B4JTutorialABMaterial
Profiling your apps ''live'' with ABMonitor (preview)
A library/tool to profile and monitor your B4J apps (not limited to ABMaterial WebApps!) because I needed something like this for some time for my own projects. Using a very simple API (see below video), you can track how long the code execution time is, the times hit, average time, Standard deviation etc for nearly everything you want.
@alwaysbusy · 2017-06-26
B4JTutorialABMaterial [ABMATERIAL]
New in 3.50: Drag and Drop about anything [ABMaterial]
New in 3.50: Drag and Drop about anything [ABMaterial]
@alwaysbusy · 2017-06-21
B4JLibraryImages
ImageEnter v0.10
Allows easy interaction with mouseenter/mouseleave event functionality for images in B4J.
@ThRuST · 2017-06-21
B4JSnippetFile handling
How to include many files into app without using files manager.
My aim was to include a lot of image files saved in directories in my app. Adding the files with the files manager tab was not of interest, as I had over 400 files. This solution comes from Erel and I am adding it here because its so simple and neat!
@Mark Read · 2017-06-21
B4JSnippetList- and scrollview
ListView based on FXML scene with image download
Dynamically adjust the layout of a listview and re-use the code for different projects.
@notedop · 2017-06-18
B4JSnippetDatabase
Load A JDBC Driver Dynamically At Run Time Using Inline Java
Load A JDBC Driver Dynamically At Run Time Using Inline Java
@keirS · 2017-06-13
B4JTutorialABMaterial [ABMATERIAL]
Kanban Reporting CustomComponent [ABMaterial]
Kanban Reporting CustomComponent [ABMaterial]
@Mashiane · 2017-06-13
B4JSnippetDatabase
JRDC and Periodic backup of MySql database
I want to share this piece of code found on internet. Really it has nothing to deal with B4J programming, but anybody that uses JRDC will find useful to make a regular backup of the MySql database. So, it''s a batch file.
@marcick · 2017-06-13
B4JLibraryDatabase [MODULE][UNIVERSAL]
DBUtils [module] [Universal]
In both the demo and DBUtils.bas, the modifications were minor in order to accommodate MySQL. Summary of DBUtils changes: 1) Added the public variables DB_VARCHAR and DB_BIGINT. MySQL cannot index TEXT fields, thus I had change the Student''s Id to DB_VARCHAR. Also, MySQL''s INTEGER field could not hold DateTime''s long values and thus I added DB_BIGINT. 2) Added a couple of private variables and a new public function (SetEscapeChars) that lets you set the DB''s escape character. I also modified EscapeField to use these new variables and made the method Public (since it seemed useful for modifying some code in the demo). 3) InsertMaps had an SQL statement that hard coded the escape characters and I changed it to use the EscapeField method
@OliverA · 2017-06-12