Other ControlsFX library (work in progress)

Status
Not open for further replies.

Erel

B4X founder
Staff member
Licensed User
Longtime User
ControlsFX is a large open source library that extends JavaFX: http://fxexperience.com/controlsfx/features/
It requires Java 8.

jControlsFX is a wrapper for a few controls from this library. It is not yet complete.
The library code will be open as well.

The following controls are currently supported:
SS-2015-02-12_17.23.07.png


Please download this library from this thread: https://www.b4x.com/android/forum/threads/controlsfx-library.50700/
 
Last edited:

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi Erel,

very good = thanks.

Q: If testing b4J version, got these error messages - what is missing?

B4X:
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files%20(x86)/Java/jdk8/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Error: Cannot find: C:\Program Files (x86)\Anywhere Software\B4J\libraries\controlsfx-8.jar
Had copied the controlsfx.jar to the Additional Libraries.
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Thanks,
Little bit confusing: jcontrolsfx-8.jar, controlsfx-8.jar, and without the -8?
Finally got it running with naming it as jcontrolsfx.jar.
How are the numerous red boxes generated (Title-red.png is just one small red box).
 
Upvote 0

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi,

Little bit confusing: jcontrolsfx-8.jar, controlsfx-8.jar, and without the -8?
Finally got it running with naming it as jcontrolsfx.jar.
As explained in step #2, rename Rename controlsfx-8.20.8.jar (after copied to your B4J additional library folder) to controlsfx-8.jar.

How are the numerous red boxes generated (Title-red.png is just one small red box).
By setting flag Tile to True. If False then the tile-red-png is shown as one image in the paneTile:
B4X:
Dim cu As ControlsUtils
cu.SetBackgroundImage(paneTile, fx.LoadImage(File.DirAssets, "Tile-Red.png"), True)
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
By setting flag Tile to True.
Aha, "Small change - large result", or similar.
Unfortunately, there are hundreds of those parameters in this kind of language, hard to remind for the occasional user....
Greetings to Pinneberg.
Thank you, positrom2
 
Upvote 0
Status
Not open for further replies.
Top