Results 1 to 8 of 8

Thread: Javafx and java for desktop application

  1. #1
    Join Date
    Mar 2010
    Posts
    383

    Javafx and java for desktop application

    Hello,
    I have to schedule an application that has an interface or it can draw graphs (nodes and arcs) and modify them. I just discover javafx and it makes me seem very practical.
    1) So I wonder if this language can change the shape of objects designed with all the animations (a la Flash)
    2) I saw a bit of problem there to run with javafx swing: so I wonder if it is powerful enough to make a graphic part of my application (buttons, text fields etc. ... )
    3) And especially is it possible to use with java javafx (variables etc. share them ...)

  2. #2
    Join Date
    Nov 2009
    Posts
    518

    Re: Javafx and java for desktop application

    Basic you can apply a lot of changes to objects on the fly. Make basic animation is very simple JavaFX If you want to transform one object into another (morphing) apparently must go to the side of the class javafx.scene.shape.Shape. If you want to define your animations graphically, you must go watch the side of software JXBuilder. Note: careful management of strokes in JavaFX is simplified to the maximum and only supports what we can do BasicStroke in Java (although the interface stroke can decorate the edges of any way).

  3. #3
    Join Date
    Mar 2010
    Posts
    197

    Re: Javafx and java for desktop application

    All components / controls the current JavaFX API but TextBox, ImageView and MediaPlayer) are Swing (see SwingButton, SwingList, etc..) and it is possible to include the majority of quasi-component Swing characters / customize as long as they are good programs in accordance with proper rules of programming in Swing and AWT. General manner, without problem. There may be complications when using tables, Generics, of methods with similar signatures in Java but are circumvented in one way or another.

  4. #4
    Join Date
    Mar 2010
    Posts
    383

    Re: Javafx and java for desktop application

    The entire application is on the client machine. But it will be three layers architecture. and as I saw that javafx is powerful enough for most animations (this is an important point of application) I want to use AC for the presentation layer. But other parties will be in Java (not me who is going to be programmed) I hope it's as strong as the ActionScript for everything that is animated. I'm creating an interface that allows the user to draw graphs and change after (if such presses a button moves an arc from one node to another with a nice animation) I know the limits of what javafx script, and I wonder if it is worthwhile to start with it .

  5. #5
    Join Date
    Dec 2009
    Posts
    296

    Re: Javafx and java for desktop application

    Your application is therefore more comparable to a software (thick client), fully executed on the client. Now your party needs the JavaFX JavaFX runtime cache if your client is not connected to the Internet. JavaFX is to launch calls to multiply servers SUN. Try to be integrating sdk JavaFX to your application.

  6. #6
    Join Date
    Dec 2009
    Posts
    202

    Re: Javafx and java for desktop application

    No, Java is required to launch the FX, but not sufficient, a JavaFX runtime is downloaded to the first launch in the Java cache of the user. If the user has the sdk FX on his machine, you must use the command line:
    Code:
    # Javafx -classpath temp.jar test
    But in this case, you do not profiting updates JavaFX, Which are seen stage of development, will be numerous. The cache is checked every time you start him if you have Internet, to be maintained.

  7. #7
    Join Date
    Dec 2009
    Posts
    204

    Re: Javafx and java for desktop application

    But if it is a standalone application, it has no need for the delegate applet or web access. By cons we must package the runtime with the application or indicate the CLASSPATH puisqu'installer launch JavaFX SDK does not install these runtimes in the Java CLASSPATH.

  8. #8
    Join Date
    May 2008
    Posts
    248

    Re: Javafx and java for desktop application

    Also in the case of standalone on a corporate network, the better recuperate manually deploy them later on the client, after all future versions 1.5 and 2.0 may possibly introduce new inconsistencies level binaries as between 1.0 and 1.1 (apparently the 1.1.1 is compatible with 1.1?). At any level of business we prefer to have a common set of performance rather than necessarily to upgrade to versions that have not been tested or validated.

Similar Threads

  1. How can I create JavaFX page in j2ee web application
    By Marjorie in forum Software Development
    Replies: 5
    Last Post: 25-07-2010, 03:26 AM
  2. Why sun drop javafx.application?
    By Aaloka in forum Software Development
    Replies: 4
    Last Post: 17-07-2010, 06:53 AM
  3. How to terminate a Java application?
    By KALIDA in forum Software Development
    Replies: 5
    Last Post: 05-02-2010, 05:34 PM
  4. Help with java application
    By gec5741 in forum Software Development
    Replies: 1
    Last Post: 29-12-2009, 04:32 PM
  5. Can't Run Java application
    By Ameeryan in forum Software Development
    Replies: 3
    Last Post: 08-10-2009, 10:37 AM

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,714,299,521.08874 seconds with 17 queries