Loading... Cancel

JavaFX: How to run your HelloWorld R

May 12th, 2007

Today i have started learning JavaFX. so you will get my new learning over my blog site.

Problem how to run your first hello world FX:

there are 3 alternatives as far i know -
1. using NetBeans.
2. using Eclipse JavaFX plugin.
3. using manual execution

1. using net beans - you will find enough information from the starter example over here

https://openjfx.dev.java.net/Getting_Started_With_JavaFX.html

2. using eclipse plugin - install plugin from this url :
http://download.java.net/general/openjfx/plugins/eclipse/site.xml

3. using manual execution:
include 4 directory/jar over your classpath
i. javafxrt.jar
ii. swing-layout.jar
iii. Filters.jar
iv. your src directory (where you will store your *.fx) files

Main-class: net.java.javafx.FXShellyourPackage.ScriptFileName

best wishes,

Total 5 responses found

Close
  •   Karen Cheng

    Thu Jan 70 06:33

    Very good work.
    Please advise where to get the following jar files:
    i. javafxrt.jar
    ii. swing-layout.jar
    iii. Filters.jar
    Thanks.
    Karen

  •   Razor

    Thu Jan 70 06:33

    hi Hasan,

    I tried the eclipse and the netbeans mode to install the javafx plugins but its not working that way. Do you have a link to the plugins for them so I can install them manually ?

  •   Ehab

    Thu Jan 70 06:33

    thanks hasan bhai for being activer over here.
    I am actually learning java ( and php ) at the same time. i was confused as to in which field to go deep into, hasin bhai suggested that i go deep into php and go reach ruby on rails.
    thank you - for inspiring aspiring developers like myself.
    by the way - we are planning to start a multi-author blog ( more of a weekly web-zine ) and get the top bloggers from Bangladesh to write on it on different niches ( catagories ).
    I heard that you had a similar plan long time back - but I understand that time is what hold u back.
    Please join our conversation :
    http://ehabmehedi.net/2007/05/12/a-call-to-all-bangladeshi-bloggers/

  •   Administrator

    Thu Jan 70 06:33

    this template set is one of my free templates for wordpress user. if you search on my blog yu will find the whole template package.
    anyway, i will update my blog with JavaFX related stuff.
    sure you don't need any prior knowledge on Java (though better if u have).
    JavaFX is a simple scripting language on top of java environment.
    yea, netbeans has it's own extension to let javafx go along.
    best wishes,

  •   Ehab

    Thu Jan 70 06:33

    i luv this ajax comments. own or taken ?
    can i code javafx without prior knowledge in java ?
    can i use j2sdk netbeans to code ?
    could you please update the post with a few more useful links in this field ?
    p.s - please gimme a ping when u reply to this.