I am trying to translate KitCarlson's chart recorder to B4J. Many objects have the same name as in B4A. But some not:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Substituting Panel by Pane might be obvious (have to see the final result...) but what to do for Rect?
Also,
how to translate rectGrid.Initialize(...)?
Thanks for help. If finally successful, I will post the B4J code
			
			
			
				B4X:
			
		
		
		'B4A
    Dim btnStart As Button
    Dim pnlChart As Panel
    Dim cvsGraph As Canvas
    Dim rectGrid As Rect
    Dim SrcRec, DestRec, PltRec As Rect
....
    rectGrid.Initialize(GridX0, GridY0, GridX1, GridY1)   ' initialize rectangle
	Also,
how to translate rectGrid.Initialize(...)?
Thanks for help. If finally successful, I will post the B4J code