I am New to B4j, trying to build a simple screen with just a label. I get the following error when I tried to run the application.
javac 1.7.0_03
src\b4j\example\main.java:6: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
1 error
javac 1.7.0_03
src\b4j\example\main.java:6: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
B4X:
#Region Project Attributes
#MainFormWidth: 600
#MainFormHeight: 400
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("LogIn") 'Load the layout file.
MainForm.Show
End Sub
1 error
Last edited: