Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #12319

Re: Swing is dead! Long live Swing.

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Swing is dead! Long live Swing.
References <jhhsv4$uov$1@dont-email.me> <4f3d9152$0$291$14726298@news.sunsite.dk> <jhk4nl$h4e$1@dont-email.me> <4f3d96c1$0$293$14726298@news.sunsite.dk> <MPG.29acbd14a4041de9896f2@202.177.16.121>
Message-ID <6f72r.16359$L12.15612@newsfe23.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2012-02-25 11:37 -0400

Show all headers | View raw


On 12-02-20 03:27 PM, Wanja Gayk wrote:
> In article <4f3d96c1$0$293$14726298@news.sunsite.dk>, arne@vajhoej.dk 
> says...
>>
>> On 2/16/2012 6:50 PM, Knute Johnson wrote:
>>> On 2/16/2012 3:29 PM, Arne Vajhøj wrote:
>>>> PS: JavaFX is actually rather cool.
>>>
>>> I bought a book and am starting to try to learn the differences. The
>>> thought of starting over with a new API is a little daunting.
>>
>> Do yourself a favor and start using FXML and CSS right away.
> 
> It certainly looks different, but you lose all the nice error checking 
> that the compiler does for you, you lose the code completion feature and 
> whatnot, hell that FMXL doesn't even have a schema.. 
> On the other hand you'll have a good overview over the scene graph. I'd 
> only use that feature if my GUI must be changeable without recompiling.
> I consider FXML a good format for GUI-Designers, that's all.
> 
> Kind regards,
> Wanja
> 
I don't know that much about FXML. I've used XAML a fair bit on the .NET
side, and I expect the concepts are similar. I'll probably end up
playing with FXML some, because it does look interesting: I'll be happy
when Oracle comes out with Linux and Mac OS X support, right now I'll
force myself to experiment on Windows.

Point being, and this is something that is also applicable to the
overall erratic, generally substandard history of Java IDE support for
GUI design (some IDES good, some OK, some crappy), let's say for JSF
with or without Facelets, you can get all that error-checking and code
completion if someone builds it.

To use another example, I can write complex XML complete with excellent
schemas, and write XSLT 2.0 stylesheets that process that XML, but if
I'm doing all of that using a non-aware text editor then I have no code
completion, no validation, and no error checking as I edit. If I'm using
advanced XML editors instead, I get all of that.

Similarly, if an IDE chooses to make appropriate linkages between a GUI
description language like FXML or XAML, and code-behind, then you've got
that extra checking, and you can have code completion. There is no
reason in principle why an IDE could not support both for FXML
expression bindings or controller method event handlers, for example.

A compiler is only one tool. You can't expect it to take care of
everything for you.

AHS
-- 
-- Gaiety is the most outstanding feature of the Soviet Union.
Josef Stalin, November 1935

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Swing is dead!  Long live Swing. Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2012-02-15 19:25 -0800
  Re: Swing is dead!  Long live Swing. Roedy Green <see_website@mindprod.com.invalid> - 2012-02-15 20:13 -0800
    Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-16 18:33 -0500
  Re: Swing is dead!  Long live Swing. Novice <novice@example..com> - 2012-02-16 19:13 +0000
    Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-16 18:32 -0500
      Re: Swing is dead!  Long live Swing. Novice <novice@example..com> - 2012-02-17 16:35 +0000
        Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-17 18:00 -0500
          Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-27 21:05 -0500
  Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-16 18:29 -0500
    Re: Swing is dead!  Long live Swing. Knute Johnson <nospam@knutejohnson.com> - 2012-02-16 15:50 -0800
      Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-16 18:52 -0500
        Re: Swing is dead!  Long live Swing. Knute Johnson <nospam@knutejohnson.com> - 2012-02-16 16:01 -0800
          Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-16 19:07 -0500
        Re: Swing is dead!  Long live Swing. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-20 20:27 +0100
          Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 18:39 -0500
            Re: Swing is dead!  Long live Swing. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-21 02:09 +0100
              Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 20:28 -0500
                Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 20:29 -0500
          Re: Swing is dead!  Long live Swing. Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-02-25 11:37 -0400
            Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-25 10:58 -0500
            Re: Swing is dead!  Long live Swing. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-26 18:24 +0100
              Re: Swing is dead!  Long live Swing. markspace <-@.> - 2012-02-26 10:27 -0800
                Re: Swing is dead!  Long live Swing. Lew <noone@lewscanon.com> - 2012-02-26 13:16 -0800
                Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-26 18:05 -0500
                Re: Swing is dead!  Long live Swing. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-28 23:19 +0100
                Re: Swing is dead!  Long live Swing. Lew <noone@lewscanon.com> - 2012-02-29 00:00 -0800
                Re: Swing is dead!  Long live Swing. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-29 09:10 -0800
                Re: Swing is dead!  Long live Swing. Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-02-29 05:53 -0400
                Re: Swing is dead!  Long live Swing. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-29 11:11 +0100
              Re: Swing is dead!  Long live Swing. Lew <noone@lewscanon.com> - 2012-02-26 13:16 -0800
                Re: Swing is dead!  Long live Swing. Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-02-26 19:32 -0400
                Re: Swing is dead!  Long live Swing. Lew <noone@lewscanon.com> - 2012-02-26 16:59 -0800
                Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-26 21:03 -0500
                Re: Swing is dead!  Long live Swing. Lew <noone@lewscanon.com> - 2012-02-26 21:22 -0800
                Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-27 21:00 -0500
                Re: Swing is dead!  Long live Swing. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-28 23:34 +0100
  Re: Swing is dead!  Long live Swing. markspace <-@.> - 2012-02-16 16:43 -0800
  Re: Swing is dead!  Long live Swing. Roedy Green <see_website@mindprod.com.invalid> - 2012-02-17 09:24 -0800
    Re: Swing is dead!  Long live Swing. Arne Vajhøj <arne@vajhoej.dk> - 2012-02-17 17:52 -0500

csiph-web