Run your app and it will be enabled.
"Debug" menu will not be enabled when the app runs.
#Region Project Attributes
#MainFormWidth: 600
#MainFormHeight: 400
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private Button1 As Button
Private Canvas1 As Canvas
Private Pane1 As Pane
'Dim Red As javafx.scene.paint.Paint
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.SetFormStyle("UNIFIED")
MainForm.RootPane.LoadLayout("main") 'Load the layout file.
MainForm.Show
Canvas1.DrawRect(0,0,Canvas1.Width,Canvas1.Height,fx.Colors.black,False,1)
End Sub
Sub linn
Canvas1.DrawLine(0,0,100,200,fx.Colors.red,2)
End Sub
Sub Canvas1_MouseClicked (EventData As MouseEvent)
linn
End Sub
Sub Button1_MouseClicked (EventData As MouseEvent)
End Sub