Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

javaFX with forms

Walid KHARRATDec 24 2019 — edited Jan 10 2020

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.

This post has been answered by Michael Ferrante-Oracle on Dec 24 2019
Jump to Answer

Comments

Post Details

Added on Dec 24 2019
6 comments
1,187 views