4 Replies Latest reply: Sep 23, 2013 12:26 AM by user13114748 RSS

    JavaFX

    user13114748

      Hi,

       

      Can u anyone help me hoe to render exe file inside javafx anchorpane?

        • 1. Re: JavaFX
          jsmith

          > Can u anyone help me hoe to render exe file inside javafx anchorpane?

           

          No.  AnchorPane contains nodes and an exe file is not a Node.

          • 2. Re: JavaFX
            user13114748

            is any other way to open exe file as tab in javafx?

            • 3. Re: JavaFX
              jsmith

              No, you can't open an exe file in a tab.

               

              The only thing you can do with an exe file to spawn a process to run it.  If the exe has it's own UI, then that UI will be displayed in UI windows created by the exe process.  Those windows would be completely separate from any windows managed by JavaFX.

               

              The process API in Java is sometimes unwieldy and difficult to work with (at least if you need to communicate in arguments and get results out of the spawned process).

               

              Spawning processes in Java has nothing to do with JavaFX.  If that is what you want to do, you will get better help sooner if you post a question "How do I spawn a process in Java?" to a general purpose Java forum rather than a JavaFX specific forum.

              • 4. Re: JavaFX
                user13114748

                Thanks jsmith.