Results 1 to 5 of 5

Thread: JavaFX for Web

  1. #1
    Join Date
    Mar 2010
    Posts
    360

    JavaFX for Web

    Hello,
    Applications for JavaFX Script, if I understood correctly, can be distributed on the Internet in two forms: the first is applet, and the second is jnlp? I have a question. As written in my application on JavaFX Script applets to run through? I've placed the source, class and index at the same level as the library in the folder lib and placed accordingly rewrote index.html. More interesting to learn about the implementation of the example of the JavaOne, where the applet from your browser moved to the desktop, and he stayed there to work. This is going to implement the standard, or it will have to program yourself.

  2. #2
    Join Date
    Nov 2009
    Posts
    359

    Re: JavaFX for Web

    The class name of the package must be specified in the parameter value tag param
    Code:
    <param name="AppletClass" value="pack.MyApplet">
    If after all this you Applet does not work, then it is better in a browser to open the Java Console, it is usually located in the menu Tools, and see what message is written there. This will help to understand what still goes wrong.

  3. #3
    Join Date
    Mar 2010
    Posts
    197

    Re: JavaFX for Web

    I did not understand this in detail, but that everything worked, it is necessary to add the applet tag:
    Code:
          <param name="jnlp_href" value="jnlpcomponent1.jnlp">
          <param name="draggable" value="true"/>
    And have installed firefox 3.0 and Java 6 update 10. Transfer applet on parabolic table then the action is: ALT + Left Mouse Click.

  4. #4
    Join Date
    Dec 2009
    Posts
    178

    Re: JavaFX for Web

    After compiling the FX class is from a Java byte code, and especially no different from ordinary Java classes. Therefore, all methods of distribution of Java programs on the Internet just as applicable for JavaFX Script programs. If we consider the applets, they have as a parameter you can specify a particular Java applet that displays the final application that allows you to separate the code of the applet from the application code:
    Code:
    <applet code="javafx.ui.Applet"> </ applet>

  5. #5
    Join Date
    Sep 2009
    Posts
    177

    Re: JavaFX for Web

    If I understand correctly, then when someone for example runs this applet is first downloaded to the appropriate libraries javafx so? I just probably remove this line, all the necessary libraries as I understood downloaded once and then no longer need to do to use. So after removing this line applet does not work. Or I did not understand the answer?

Similar Threads

  1. JavaFX into jsp file
    By Bottlenecked in forum Software Development
    Replies: 10
    Last Post: 01-09-2010, 10:22 PM
  2. JavaFX is the right choice?
    By Bricklayer in forum Software Development
    Replies: 6
    Last Post: 26-07-2010, 10:34 AM
  3. Strings in JavaFX
    By Messenger in forum Software Development
    Replies: 3
    Last Post: 16-07-2010, 04:57 PM
  4. javafx xml parsing example
    By russ_da_buss in forum Software Development
    Replies: 3
    Last Post: 10-08-2009, 06:56 PM
  5. JavaFX Mobile from Sun
    By Bon-Z in forum Portable Devices
    Replies: 1
    Last Post: 12-02-2009, 11:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,964,588.33783 seconds with 17 queries