Results 1 to 6 of 6

Thread: Can i create an auto executable jar file for fx script

  1. #1
    Join Date
    Apr 2010
    Posts
    77

    Can i create an auto executable jar file for fx script

    A few weeks ago we discovered the packaging of Java applications thanks to MRJAppBuilder. Recently , we explored an introduction to GUI programming Java on Mac .The files containing the JavaFX script , are ordinary text files with extension like " . fx . These files are compiled for class files ". class" using the compiler "javafxc" . To run the class files , use the interpreter "javafx" . I want to know that can i create an auto executable jar file for fx script ?

  2. #2
    Join Date
    Feb 2008
    Posts
    1,856

    Re: Can i create an auto executable jar file for fx script

    you need to first Package declaration . As in Java this statement should be placed on the first line of file ( Comments may precede this statement). Declaration of classes to import. Both are essential for development graphs :

    1.Import javafx.stage.Stage ;
    2.Import javafx.scene.Scene ;

  3. #3
    Join Date
    May 2008
    Posts
    2,302

    Re: Can i create an auto executable jar file for fx script

    An object literal " Stage " is the main window of the application, the equivalent of " frame "or " JFrame " . The Stage object has instance variables, such as the application title " title " , width, height , fill color etc. . Among its instance variables " scene ". This " scence "is the location in the application window , where it draws , adds components . This is the place of visual rendering application.

  4. #4
    Join Date
    May 2008
    Posts
    2,393

    Re: Can i create an auto executable jar file for fx script

    The components that adds JavaFX in the scene are nodes ( nodes ) . They are inserted into the variable " content " stage. Most often we insert more nodes in the scence . So a sequence of objects where the two square brackets [ and ] after content : The nodes are forms , widgets , text , images , media , etc. javafx.scene.Node is the base class of nodes ( nodes) of scene . It is possible to apply on many nodes of effects and animations . They received the mouse event and keyboard.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,394

    Re: Can i create an auto executable jar file for fx script

    JavaFX is a family of products for creating RIA rich internet application " or rich Internet application. It is indeed greatly simplify the creation of graphical content. For example , the graphical content currently requires a lot of Java source built from Swing components , Sun claimed the same content can be put into implement a few lines of JavaFX Script.
    Last edited by Reegan; 21-07-2010 at 06:20 AM.

  6. #6
    Join Date
    Feb 2010
    Posts
    658

    Re: Can i create an auto executable jar file for fx script

    JavaFX JavaFX runtime allows applications to run on any platform with Java SE or Java ME . It offers the possibility of a rich client on multiple platforms , screens and terminals , such as :- JavaFX Desktop: browsers and applications. JavaFX Tools Suite: a set of utilities for use by designers , Web designers and developers to create rich applications and interactive " rich interactive applications " . Several tools for developers and designers, including plug-ins.

Similar Threads

  1. Replies: 5
    Last Post: 10-08-2011, 06:15 AM
  2. How to create an executable jar?
    By TalinF in forum Software Development
    Replies: 4
    Last Post: 25-07-2010, 03:21 AM
  3. How to create an empty file in a script?
    By OmJaa in forum Windows XP Support
    Replies: 2
    Last Post: 26-05-2010, 09:47 PM
  4. PHP script for Auto configuration file for Outlook Express
    By Soumen in forum Software Development
    Replies: 5
    Last Post: 22-01-2010, 04:25 PM
  5. How to create a script in a DOS batch file to do a loop?
    By Jon Osborn in forum Windows Server Help
    Replies: 2
    Last Post: 27-05-2008, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •