Other ControlsFX library (work in progress)

Discussion in 'B4J Questions' started by Erel, Feb 12, 2015.

Thread Status:
Not open for further replies.
  1. Erel

    Erel Administrator Staff Member Licensed User

    Last edited: Feb 15, 2015
    zyblux, inakigarm, stevel05 and 3 others like this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Same app on Mac:
    upload_2015-2-12_17-54-50.png
     
    thedesolatesoul likes this.
  3. rwblinn

    rwblinn Well-Known Member Licensed User

    Hi Erel,

    very good = thanks.

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

    Code:
    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
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Does it crash after this message? If not then you can ignore it.
     
  5. positrom2

    positrom2 Active Member Licensed User

    Error: Cannot find: C:\Program Files (x86)\Anywhere Software\B4J\libraries\controlsfx-8.jar
    Had copied the controlsfx.jar to the Additional Libraries.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    See step #2.
     
  7. positrom2

    positrom2 Active Member Licensed 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).
     
  8. rwblinn

    rwblinn Well-Known Member Licensed User

    No crash BUT a bunch of messages like these appear when calling:
    Code:
    CreateStatusBar
    CreateHyperLinkLabel
    CreateSegmentedButtons
     
  9. rwblinn

    rwblinn Well-Known Member Licensed User

    Hi,

    As explained in step #2, rename Rename controlsfx-8.20.8.jar (after copied to your B4J additional library folder) to controlsfx-8.jar.

    By setting flag Tile to True. If False then the tile-red-png is shown as one image in the paneTile:
    Code:
    Dim cu As ControlsUtils
    cu.SetBackgroundImage(paneTile, fx.LoadImage(
    File.DirAssets, "Tile-Red.png"), True)
     
  10. positrom2

    positrom2 Active Member Licensed User

    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
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    I also the warning messages after updating to the latest version of Java 8. It will probably be fixed in the next version of ControlsFX (the native jar).
     
  12. Erel

    Erel Administrator Staff Member Licensed User

Thread Status:
Not open for further replies.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice