Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private Button1 As Button
Private awesome As Font
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("1") 'Load the layout file.
MainForm.Show
awesome = fx.LoadFont(File.DirAssets, "FontAwesome.otf", 20)
Button1.Font = awesome
Button1.Text = ""
End Sub