2 Replies Last post: Oct 7, 2011 2:38 PM by Daniel Zwolenski  
Daniel Zwolenski Newbie 2 posts since
Sep 12, 2002
Currently Being Moderated

Oct 7, 2011 7:25 AM

JavaFX 2.0 Support - Please consider

Hey Guys,

 

I see from these that there is no special support intended for JavaFX 2.0 in IntelliJ:

 

 

JavaFX 2.0 was released a few days ago and I think it is worth you having a look at it and possibly reconsidering: http://download.oracle.com/javafx/

 

JavaFX 1.0 was a miserable failure and a terrible idea. JFX2 is a completly new approach and is much more likely to make an impact and stay around (at the very least it should gradually replace Swing, but should also make some inroads into web against Flash, etc). The most important thing is that the horrible scripting language has been ditched for pure Java. What we're left with is a Java API for building powerful desktop GUIs (and applet-like programs) with animations, styling, special effects and styling. A long overdue successor to Swing. There is also talk of it being supported on mobile devices such as Android and iOS.

 

Since the core library is all Java now, there's not much special support needed for this, but there are two areas that IntelliJ could add value:

 

 

Ideally the support for both of these would include smart referencing, where attributes referenced in the FXML and not specified in the controller are highlighted in red, and CSS styles not used are greyed out, etc.

 

I personally don't see any real need to have an IDEA specific UI builder, but there is an official SceneBuilder under development by the JFX team (due out in a couple of months). You may want to look at including this into IDEA as a plugin or something, but this is a bonus extra and probably not something I personally would use. 

 

As a long time IntelliJ user (since version 3 I think), I would definitely like to see support for this added in. At the very least keep an eye on the JFX space and watch for developments - don't rule it out because of the shamozal that JFX1.x was.

 

Cheers,

zonski

Dmitry Jemerov Master 12,505 posts since
Aug 19, 2002
Currently Being Moderated
Oct 7, 2011 11:29 AM in response to: Daniel Zwolenski
Re: JavaFX 2.0 Support - Please consider

Hello Daniel,

 

We do watch the JavaFX 2.0 announcements, and we completely agree that it''s

a much more practically useful solution for UI development compared to JavaFX

1.0. It doesn't look like any JavaFX 2.0 support features would be included

in IntelliJ 11, though.

 

From a quick look at FXML, it doesn't look like something that many people

would want to write by hand; it's far too verbose for this purpose and much

better suited for a UI designer like tool. It wouldn't be hard to provide

FXML code completion/navigation/error highlighting support in IntelliJ, but

the value of that is still unclear to me.

 

I see from these that there is no special support intended for JavaFX

2.0 in IntelliJ:

 

http://devnet.jetbrains.com/message/5311783#5311783

 

JavaFX 2.0 was released a few days ago and I think it is worth you

having a look at it and possibly reconsidering:

http://download.oracle.com/javafx/

 

JavaFX 1.0 was a miserable failure and a terrible idea. JFX2 is a

completly new approach and is much more likely to make an impact and

stay around (at the very least it should gradually replace Swing, but

should also make some inroads into web against Flash, etc). The most

important thing is that the horrible scripting language has been

ditched for pure Java. What we're left with is a Java API for building

powerful desktop GUIs (and applet-like programs) with animations,

styling, special effects and styling. A long overdue successor to

Swing. There is also talk of it being supported on mobile devices such

as Android and iOS.

 

Since the core library is all Java now, there's not much special

support needed for this, but there are two areas that IntelliJ could

add value:

 

  • Language support for the JavaFX CSS extensions:

http://download.oracle.com/javafx/2.0/css_tutorial/jfxpub-css_tutorial

.htm

 

  • Language support for FXML:

http://download.oracle.com/javafx/2.0/fxml_get_started/jfxpub-fxml_get

_started.htm

 

Ideally the support for both of these would include smart referencing,

where attributes referenced in the FXML and not specified in the

controller are highlighted in red, and CSS styles not used are greyed

out, etc.

 

I personally don't see any real need to have an IDEA specific UI

builder, but there is an official SceneBuilder under development by

the JFX team (due out in a couple of months). You may want to look at

including this into IDEA as a plugin or something, but this is a bonus

extra and probably not something I personally would use.

 

As a long time IntelliJ user (since version 3 I think), I would

definitely like to see support for this added in. At the very least

keep an eye on the JFX space and watch for developments - don't rule

it out because of the shamozal that JFX1.x was.

 

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

More Like This

  • Retrieving data ...