Logserver using in multiple modules / classes.
LogServer can only accept one connection at a time, therefore we should not initialize the LogServerClient multiple times to access it from different classes / modules. Instead, declare it as a Public Process_Global and initialize the LogServerClient in your Main module, then access it from Main in other modules you want to use it from.
@stevel05 · 2018-04-30
LogServer sending complex data
Data from classes, types or any other object can be sent as a message to LogServer by writing a Sub to format the data in an easily readable manner.
@stevel05 · 2018-04-30
MashText2UML: Sequence Diagram [ABMaterial]
MashText2UML: Sequence Diagram [ABMaterial]
@Mashiane · 2018-04-27
MashFlowChart [ABMaterial]
MashFlowChart [ABMaterial]
@Mashiane · 2018-04-27
Fix trails when moving Nodes
If youre creating apps that work with moving nodes (in my case D''n''D), you may als have seen that moving nodes sometimes results in ugly trails on the Parent Pane. Heres how to fix that: We tell JFX to cache the nodes style, that results in a way faster redrawing.
@nobbi59 · 2018-04-27
String Contains a Valid Number
SubName: ValidNumber. Description: A multi purpose number validator
@stevel05 · 2018-04-26
MashJCircle Slider [ABMaterial]
MashJCircle Slider [ABMaterial]
@Mashiane · 2018-04-26
Opening your app inside B4A WebView [ABMaterial]
Opening your app inside B4A WebView [ABMaterial]
@Mashiane · 2018-04-23
jSensors_B4J - load, fan and temps
View the temperatures, loads and fan speeds of the various components in your computer (like cpu, gpu, motherboard, disk)
@Roycefer · 2018-04-20
File Chooser Utils
I had thought there was something unusual about the FileChooser for a while, last night it dawned on me that it is not possible to select a specific file type from the list. I have created a Utils module to allow this. There are 4 options (only to save typing when setting it up) that allow entering individual file extensions that then are individually selectable, you have to enter a description for each file extension, you can also add a merged filter (with a separate name) this is what we have now, and a further option to add an all files filter, and an option for both. There is also a method to set the initially selected filer. It''s a static module, so you need to pass a FileChooser object to each call. You can compile it to a library if you don''t want to add the module to a project.
@stevel05 · 2018-04-20
Creating the diagram.. [ABMaterial]
Creating the diagram.. [ABMaterial]
@Mashiane · 2018-04-17
TabPane Closing Policy TabPages
Have been looking to handle closure and showing of TabPages added to a TabPane. This snippet shows a solution using the TabPane Closing Policy. The JavaObject library is used to access API methods for the TabPane.
@rwblinn · 2018-04-16
Image to JPEG byte array with resize/quality options
Image to JPEG byte array with resize/quality options
@OliverA · 2018-04-11
MenuBar Create Dynamically FontAwesome Icon
Example creating dynamically FontAwesome icons for a MenuBar. This solution, see Sub TextToImage, uses a label which font is set to FontAwesome, add to a pane, followed by a screenshot which creates the image and then make the label invisible. The image is added to the menu items via a list. Their might be other ways to create an image from text, but this solution is working fine.
@rwblinn · 2018-04-10
How to set a default date to be blank? [ABMaterial] [SOLVED]
How to set a default date to be blank? [ABMaterial] [SOLVED]
@Mashiane · 2018-04-10
Simple Image Info - Image Size and MIME type
Here is a port of a class found here: http://blog.jaimon.co.uk/simpleimageinfo/SimpleImageInfo.java.html that reads the size info from a file for GIF, JPG, PNG, BMP and TIFF files. Useful so you can determine whether to load the file or a Sampled version without having to load it fully first.
@stevel05 · 2018-04-09
Get Image Pixels
Get Image Pixels
@Erel · 2018-04-09
export Tableview to excel with jPOI
export Tableview to excel with jPOI
@iordanis lazoudis · 2018-04-09
Understanding Events with Helper Classes [ABMaterial]
Understanding Events with Helper Classes [ABMaterial]
@Mashiane · 2018-04-05
Move rows between two TableViews via doubleclick
With this two subs you can move rows very easy between to TableViews by doubleclicking a row. So if you doubleclick a row it is added to the second TV and deleted from the first (and vice versa). The doubleclick is checked by the ClickCount event (= 2 = two clicks = doubleclick).
@KMatle · 2018-04-04
MashXML
MashXML seeks to be an extension of Erel''s XML2Map module with special attention to Library XMLs. I did this to help me parse library xml''s for other tasks I needed.
@Mashiane · 2018-04-04
Magnifying glass example
Magnifying glass example
@Erel · 2018-04-04
How to create and test a CustomView
How to create and test a CustomView
@Mashiane · 2018-04-04
jPCT3d (partial wrap)
A bit old ,non complete ,not tested and unsupported (sorry for that ) wrap for jPCT3d library
@somed3v3loper · 2018-04-03
HikariCP - High Performance Connection Pool
Fast, simple, reliable. HikariCP is a "zero-overhead" production ready JDBC connection pool. At roughly 130Kb, the library is very light.
@mindful · 2018-04-03
Another Blockchain example
Here is a port of the code presented as a tutorial here: https://medium.com/programmers-bloc...chain-java-tutorial-from-scratch-6eeed3cb03fa It includes examples of blockchain, transactions, wallets and mining.
@stevel05 · 2018-04-03
Master Details Using EditableTableView with CRUD
I''m designing forms with master detail functionality using a ListView and a TableView with CRUD functionality. I realized that I will have multiple controls in the screen and this will make my code a little hard to maintain with the many Create, Update and Delete functionality. Thus this is a customview that is made with another customview. So with this all I need to use are the events and the resulting output and nothing else.
@Mashiane · 2018-04-02
MashPOI
MashPOI is a collection of some jPOI related methods that I have found from the forum and created a library. As much as there are a couple of functions in the modules, I also want to add functionality to easily add worksheets, add rows and style the various columns in Excel documents.
@Mashiane · 2018-04-02
Send and receive objects [Server]
This is an old example. Better use B4XSerializator to serialize objects. Send and receive objects [Server]
@Erel · 2018-03-30
DBUtils Example
This example demonstrates how DBUtils module can be used in B4J.
@Erel · 2018-03-30