B4J Question Error/Waring message

madru

Active Member
Licensed User
Longtime User
Hi,

sometimes (really 1 out of 100) I get those messages:


WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_60/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_60/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss

what does it mean?

THX
 

madru

Active Member
Licensed User
Longtime User
some more info...

it it only happening if you try to quit the App, if the err/warning occurs the app does not quit, the GUI will disappear but the Jar is still running in the back. Running in the debugger will bring B4J in a strange behavior. = Error: can't connect to socket (not sure what the exact message was, sorry) and you have to restart B4J


B4X:
Sub TableView_AddLabel(labeltext As String) As Label

    Dim lbl1 As Label
    lbl1.Initialize("")
    lbl1.text = labeltext
    lbl1.TextColor = fx.Colors.From32Bit(0xffff0000)
    Return lbl1

EndSub

only this code is used who deals with colors in the app
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…