B4J Question Insert statements into main.java?

Bruce Axtens

Active Member
Licensed User
Longtime User
if I wanted to emit some java into the output stream, is there a mechanism to do so?

As I pursue the possibility of using Java 13 with JavaFX, I'm wondering if I need to embed an explicit import statement into Objects\src\b4j\example\main.java

Is that even possible?
 

Daestrum

Expert
Licensed User
Longtime User
Something like
B4X:
#If java
import the.class.you.want;
#End if
in the main module should work providing the class is on the classpath.
 
Upvote 0

Bruce Axtens

Active Member
Licensed User
Longtime User
If that is the case, please look at this zip of my Java 13 + JavaFX folder and tell me where I went wrong. Thanks in advance, Merry Christmas and Hanukkah Sameach!
 
Upvote 0
Top