Hi all.
Completly newbe with B4J, I'n not a developer (my last experience was with VB 3.0 and VB 4.0 a long long time ago) but guess i can deal with B4A, I've been able to run some simple examples, but I want to test this wonderfull libraries. I follow the directions on
http://www.b4x.com/b4j/help/jfxtrasgauges.html but no luck. I'm not be able to use this nodes in teh designer (I can import the library but the nodes/controls are not usable at all).
BTW the directions says that once used the dummy node (textarea) and changed with the desired gauge, the designer ask for the library on the next start, but this is not true in my case (javaFX designer 2.0). but aparently the node is inserted (I can view it in generate members)
This way once in B4J when I try to run the example (only want to show the gauge by now) the log throws and error "Radial is not a valid Type". AFAIK if you use the designer you don't need to use the activate method before showing the form in code.
Can anybody help?
So I understand that the library in this thread is necessary to use the Xtras-labs library
This is my simple code
#Region Project Attributes
#MainFormWidth: -1
#MainFormHeight: -1
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private btnPulsa As Button
Private lbl As Label
'Private txtArea As TextArea
Private radial1 As JFXtrasRadial
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("lyout1") 'Load the layout file.
MainForm.Show
End Sub
I allways get this error:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/javafx/scene/control/skin/SkinBase