While working on an enhanced version (with stored background/theme/style/form size/position, fine dragging form) of Erel's ThreePagesExample, a B4J ClassCastException - b4j.objects.Pane cannot be cast to class javafx.scene.image.ImageView is thrown when retrieving bitmap as background from KeyValueStore. See code and source below. Still work in progress, any suggestion on resolving such exception? Thanks.
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			(ClassCastException) java.lang.ClassCastException: class anywheresoftware.b4j.objects.PaneWrapper$ConcretePaneWrapper$NonResizePane cannot be cast to class javafx.scene.image.ImageView (anywheresoftware.b4j.objects.PaneWrapper$ConcretePaneWrapper$NonResizePane is in unnamed module of loader 'app'; javafx.scene.image.ImageView is in module javafx.graphics of loader 'app')
			
				SetBitmap from KeyValueStore:
			
		
		
		Sub UpdateImageVw (appVw As B4XView)
    Try
        If appVw.IsInitialized Then
            appVw.SetBitmap(kvs.GetBitmap("Canvas"))
        End If
    Catch
        Log("Error in UpdateImageVw: " & appVw.Tag.As(String) & " - " & LastException)
    End Try
End SubAttachments
			
				Last edited: 
			
		
	
								
								
									
	
		
			
		
	
								
							
							 
				 
 
		 
 
		