B4J Question package javafx.application does not exist

Nickle

Member
Licensed User
Longtime User
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{
^

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
upload_2014-7-4_11-29-8.png
 
Last edited:
Top