Bug? Error?

ciprian

Active Member
Licensed User
Longtime User
Hi Erel.
Wen i try to open one of your examples, this is what i'm seeing into B4J.
B4X:
#Region  Project Attributes
    #MainFormWidth: 500
    #MainFormHeight: 500
#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("Layout1") 'Load the layout file.
    MainForm.Show
End Sub

After this, when i try to compile, it's asking to save and after that, when i'm trying to compile, i'm having an error:
B4X:
Parsing code.                          0.02
Compiling code.                        0.08
Compiling debugger engine code.        0.46
Compiling generated Java code.          Error
javac 1.7.0
src\b4j\example\main.java:5: error: package javafx.application does not exist
public class main extends javafx.application.Application{
                                            ^
1 error

What do i do wrong? I've allready instaled javaFx.application.
 
Top