jacksonmacd
New Member
B4X newbie here. I've worked my way thru the first part of B4X Getting Started V2.4, and have the MyFirstProgram working on my Windows 11 computer. Next step is to try the same program in B4A. I am into step 3.3.3 where it will not run as per instructed on p.45. That's when I noticed there are some error messages on the B4XMainPage, and a red squiggly underline on this line:
Private edtResult as TextField
TextField is not one of the IntelliSense items of available types. TextReader and TextWriter are available, but not TextField
The error message states that edtResult is undeclared.
So I go back to B4J and notice the program still runs successfully, however, there is an error message: "com.sun.javafx.embed.swing.oldimpl not in javafx.swing"
A search through the forums states this is a harmless message that can be safely ignored.
My computer does not have a javafx.swing.oldimpl file, but it does contain a file named javafx.swing.jmod. Not sure if this is significant, but they seem related.
I'm confused: I thought that the source code was interchangeable between the platforms, but a Type that works in B4J is not working in B4A.
Can anyone point me in the right direction to fix this. What type do I use for the edtResult in the B4A example?
TIA
Private edtResult as TextField
TextField is not one of the IntelliSense items of available types. TextReader and TextWriter are available, but not TextField
The error message states that edtResult is undeclared.
So I go back to B4J and notice the program still runs successfully, however, there is an error message: "com.sun.javafx.embed.swing.oldimpl not in javafx.swing"
A search through the forums states this is a harmless message that can be safely ignored.
My computer does not have a javafx.swing.oldimpl file, but it does contain a file named javafx.swing.jmod. Not sure if this is significant, but they seem related.
I'm confused: I thought that the source code was interchangeable between the platforms, but a Type that works in B4J is not working in B4A.
Can anyone point me in the right direction to fix this. What type do I use for the edtResult in the B4A example?
TIA