#Region Project Attributes
#MainFormWidth: 1400
#MainFormHeight: 900
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Dim Content As AnchorPane
Dim backbmp, backbmp1 As Image
Dim ImageView1 As ImageView
Dim Label1 As Label
Dim paner As AnchorPane
Dim accord As Node
Dim tiledone As Node
Dim listview1 As ListView
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("main_app") 'Load the layout file.
backbmp.Initialize(File.DirAssets,"hot1.jpg")
backbmp1.Initialize(File.DirAssets,"ok.png")
MainForm.Show
Listxx
End Sub
Sub Content_MouseClicked (EventData As MouseEvent)
End Sub
Sub Listxx
For i = 0 To 100
Dim p As AnchorPane
p.Initialize("")
p.LoadLayout("ListItem")
ImageView1.SetImage(backbmp)
>>>>>> ERROR HERE <<<<<
listview1.Items.Add(p)
Next
End Sub