Edit: See post 5 below for solution.
Getting the following error in B4j same code in B4A has no error:
The picture loads just fine.
I am retrieving a picture using HttpJob.
Getting the following error in B4j same code in B4A has no error:
The picture loads just fine.
B4X:
Jan 16, 2021 11:49:18 PM com.sun.javafx.tk.quantum.PrismImageLoader2$PrismLoadListener imageLoadWarning
WARNING: null
I am retrieving a picture using HttpJob.
B4X:
Dim H As HttpJob
H.Initialize("H", Me)
Dim FN As String = "XXXXXXXXXX.jpg"
Dim FDir As String = "\\XXXX\yyyy\dwg"
H.Download2($"http://${XXXXXXXXXX/getfile"$, Array As String("FileName", FDir & "\" & FN, "Dir", FDir))
Wait For (H) JobDone(j As HttpJob)
If j.Success Then
TravPic.ResizeMode = "FIT" '"FILL_NO_DISTORTIONS"
TravPic.Bitmap = j.GetBitmap <<ERROR IS ON THIS LINE
.
.
Last edited: