Click here to Skip to main content
16,006,006 members
Home / Discussions / Java
   

Java

 
GeneralRe: ArrayList Pin
Richard MacCutchan28-Sep-10 2:18
mveRichard MacCutchan28-Sep-10 2:18 
QuestionHow to implement normal Table control with GEF? Pin
sinron26-Sep-10 21:45
sinron26-Sep-10 21:45 
QuestionHow to refresh JTable of Frame one on close of Frame two Pin
Alok Sharma ji26-Sep-10 21:29
Alok Sharma ji26-Sep-10 21:29 
AnswerRe: How to refresh JTable of Frame one on close of Frame two Pin
David Skelly27-Sep-10 22:40
David Skelly27-Sep-10 22:40 
QuestionDefault form Pin
future383926-Sep-10 17:12
future383926-Sep-10 17:12 
AnswerRe: Default form Pin
David Skelly27-Sep-10 22:38
David Skelly27-Sep-10 22:38 
Questionjava VS javafx Pin
future383926-Sep-10 15:33
future383926-Sep-10 15:33 
AnswerRe: java VS javafx Pin
David Skelly27-Sep-10 22:35
David Skelly27-Sep-10 22:35 
This is quite a controversial topic, and is the subject of much debate in the Java community. If you search on Google for something like "javafx versus swing" you will find lots and lots of opinions.

To answer your specific questions:

JavaFX uses a different syntax from Swing, and has its own language, JavaFX Script, which is not Java. However, you can use JavaFX with Java.

There are three main advantages to using JavaFX, as I understand it. First, JavaFX has better support for animations and media such as video and audio. Second, JavaFX has a similar idea to WPF in as much as it separates the visual design from the code, the idea being that the application can be built by a specialist programmer, and the look and feel can be put together by a specialist graphic designer. (The technical implementation is different from WPF, though.) Third, JavaFX offers better support for mobile platforms than Swing does.

Disadvantages: mainly that JavaFX isn't fully ready yet. It is still lacking some basic components you might need for writing desktop applications, such as a table component. It is still evolving and just this week Oracle announced that JavaFX Script will not be supported in the next version of JavaFX.

If you want to develop a desktop application, you don't have to use JavaFX but you can if you want to, if it suits your requirements. Personally, I wouldn't use it because Swing gives me everything I need for the kind of applications I build, but if I had a requirement that Swing couldn't meet, I might consider JavaFX. For example, if someone wanted me to write something with JavaME I would look at maybe using JavaFX, or at least weigh it up against LWUIT (another toolkit for Java GUIs on mobile phones).

More here:

http://javafx.com/faq/[^]
GeneralRe: java VS javafx Pin
RijoPanakkal26-Jul-13 20:52
professionalRijoPanakkal26-Jul-13 20:52 
QuestionInheritance Pin
future383925-Sep-10 3:19
future383925-Sep-10 3:19 
AnswerRe: Inheritance Pin
Luc Pattyn25-Sep-10 5:34
sitebuilderLuc Pattyn25-Sep-10 5:34 
QuestionDataObjectFieldAttribute(True, True, True) Pin
future383924-Sep-10 16:48
future383924-Sep-10 16:48 
QuestionCreatingFolder(nTier) Pin
future383924-Sep-10 16:46
future383924-Sep-10 16:46 
AnswerRe: CreatingFolder(nTier) Pin
Nagy Vilmos24-Sep-10 22:19
professionalNagy Vilmos24-Sep-10 22:19 
Questiondeveloping java components Pin
Bharat0224-Sep-10 2:24
Bharat0224-Sep-10 2:24 
AnswerRe: developing java components Pin
Richard MacCutchan24-Sep-10 4:04
mveRichard MacCutchan24-Sep-10 4:04 
AnswerRe: developing java components Pin
Cedric Moonen24-Sep-10 4:12
Cedric Moonen24-Sep-10 4:12 
AnswerRe: developing java components Pin
Nagy Vilmos24-Sep-10 4:46
professionalNagy Vilmos24-Sep-10 4:46 
GeneralRe: developing java components Pin
David Skelly24-Sep-10 5:53
David Skelly24-Sep-10 5:53 
GeneralRe: developing java components Pin
Nagy Vilmos24-Sep-10 5:56
professionalNagy Vilmos24-Sep-10 5:56 
QuestionJ2SE Pin
future383923-Sep-10 4:29
future383923-Sep-10 4:29 
AnswerRe: J2SE Pin
Nagy Vilmos23-Sep-10 5:24
professionalNagy Vilmos23-Sep-10 5:24 
AnswerRe: J2SE Pin
bilal.hobnail23-Sep-10 20:39
bilal.hobnail23-Sep-10 20:39 
QuestionReflective constructor matching problem Pin
Branislav Vidovic22-Sep-10 22:26
Branislav Vidovic22-Sep-10 22:26 
AnswerRe: Reflective constructor matching problem Pin
David Skelly23-Sep-10 3:58
David Skelly23-Sep-10 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.