Hi all,
is there a way to launch forms as javaFX panel. javaFX present multiple advantage. We can embed jre version in the .exe of resulted application. Also we can embed webview panel who can interact with forms. I start to decompile a class in fsal.jar the FormsStandAloneApp i don't find a way to use it like SwingNode like in this example :
https://docs.oracle.com/javafx/8/embed_swing/jfxpub-embed_swing.htm#CHDIJHGG
i try to do that in javaFX application:
String argument = "-url https://www.forms-demo.com/forms/frmservlet?config=DEMO0002";
final String[] array = argument.split(" ");
try {
final FormsStandAloneApp fsal = new FormsStandAloneApp();
fsal.run(array);
} catch (Exception ex) {
Logger.getLogger(JavaFXApplication1.class.getName()).log(Level.SEVERE, null, ex);
}
this get exception FRM-92491
around this instruction
Method declaredMethod;
try {
declaredMethod = this.getClass().getClassLoader().getClass().getDeclaredMethod("appendClassPath", URL.class);
}
in the getArchivesFromServer method of FormsStandAloneApp class.