Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.netfront.net!not-for-mail From: Wanja Gayk Newsgroups: comp.lang.java.programmer Subject: Re: Swing is dead! Long live Swing. Date: Tue, 21 Feb 2012 02:09:22 +0100 Organization: Netfront http://www.netfront.net/ Lines: 37 Message-ID: References: <4f3d9152$0$291$14726298@news.sunsite.dk> <4f3d96c1$0$293$14726298@news.sunsite.dk> <4f42d9a5$0$295$14726298@news.sunsite.dk> NNTP-Posting-Host: 77.8.234.17 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1329786558 52351 77.8.234.17 (21 Feb 2012 01:09:18 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Tue, 21 Feb 2012 01:09:18 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12224 In article <4f42d9a5$0$295$14726298@news.sunsite.dk>, arne@vajhoej.dk says... > >>> 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. > > The split in Java, FXML and CSS gives a pretty good separation > of functionality, layout and style. > > Not having everything checked at compile time is IMHO a small > price to pay to achieve that. You don't need fxml to achieve that. you can have a class for the layout, a class for the application code and a .css file for the style. Kind regards, Wanja -- ..Alesi's problem was that the back of the car was jumping up and down dangerously - and I can assure you from having been teammate to Jean Alesi and knowing what kind of cars that he can pull up with, when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer] --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---