Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private tab1 As TableView
Private js As jScriptEngine ' need to add this to libs
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("tabres1") 'Load the layout file.
tab1.SetColumns(Array As String("One","Two","Three"))
MainForm.Show
js.enginePut("tab1",tab1)
js.evalString("tab1.setColumnResizePolicy(tab1.CONSTRAINED_RESIZE_POLICY);")
End Sub