Skip to main content

JavaFX development on the command line

3 replies [Last post]
the4thchild
Offline
Joined: 2003-06-22
Points: 0

I am new to JavaFX and have been reading through its online documentation. I came across an article describing how to develop a JavaFX application from the command line (http://jfx.wikia.com/wiki/A_command_line_development_of_HelloWorld.fx), "although it is highly recommended to use an IDE."

I have typically relied on the command line and my favorite source editor for Java application development. What are the reasons that an IDE is highly recommended for JavaFX? In particular, are there specific limitations from developing JavaFX from the command line and without an IDE?

Thanks for your thoughts,
David

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jim_weaver
Offline
Joined: 2007-05-18
Points: 0

There are no specific limitations from developing JavaFX from the command line and without an IDE. Now when the designer tool is available for JavaFX, that will be a different story. It will have lots of cool graphical content-related features that Joshua Marinacci keeps tempting us with in blog posts like this one: http://weblogs.java.net/blog/joshy/archive/2008/01/how_do_i_answer.html

Thanks,
Jim Weaver
Making You a JavaFXpert Weblog: http://javafxpert.com

the4thchild
Offline
Joined: 2003-06-22
Points: 0

Thanks very much for your perspectives on JavaFX from the command line/source editor. I'm glad to hear that there are no limitations and that it's a matter of preference. The designer tool and other resources you've mentioned sound like potentially compelling reasons to explore an IDE for JavaFX development, so I will try my hand at that as they become available.

Thanks again for all your thoughts!

Best regards,
David

juneau001
Offline
Joined: 2004-05-18
Points: 0

I do not believe that there are any real limitations to developing JavaFX from the command line...it is merely a preference. For instance, some individuals prefer to have visual aids when developing, or benefit from structured IDE development. If you develop JavaFX within the Netbeans 6.0 environment, then you have the ability to preview what you are developing instantaneously...as you type. Netbeans also offers the added benefit of hiding the finer details (like the ones described in your linked article) so that one does not need to worry about setting up classpaths and such.

One would believe that it is much easier for a newcomer to use an IDE so that they would not need to worry about environmental settings and so forth. Others would argue that learning how to set up your environment is detrimental to becoming a good programmer.

Bottom line is that whether you develop in an IDE or if you prefer to use a text editor, it is preference.

Thanks, and take care

Josh