Re: 8u40 is released / SB

2015-03-05 Thread Doug Schaefer
From: Mike Hearn mailto:m...@plan99.net>> Date: Thursday, March 5, 2015 at 2:49 PM To: Tomas Mikula mailto:tomas.mik...@gmail.com>> Cc: Doug Schaefer mailto:dschae...@qnx.com>>, "openjfx-dev@openjdk.java.net" mailto:openjfx-dev@openjdk.java.net>> Subject: Re:

Re: 8u40 is released / SB

2015-03-05 Thread Mike Hearn
> > And then there are GroovyFX and ScalaFX, which embed the declarative > UI language in the host language. To me, FXML seems to be just > compensation for the lack of expressiveness in Java. I think the main benefit of FXML is that Scene Builder and programmers can both work with it directly, r

Re: QML vs. FXML

2015-03-05 Thread Tom Schindl
Hi, First of all by default FXGraph "compiles" to FXML, that's also the reason why we currently don't allow you to write event-handlers inside the FXGraph file (from a technical point of view there's no reason why we should not be able to do that) but that would render us incompatible with FXML.

Re: QML vs. FXML

2015-03-05 Thread Hervé Girod
I don't find QML files easier to read than FXML. People are just used to them. They are also used to the fact that there are no good QML graphical editors, so they modify QML by hand. Sent from my iPhone > On Mar 5, 2015, at 16:23, Doug Schaefer wrote: > > In general, it’s an argument against

Re: QML vs. FXML

2015-03-05 Thread Benjamin Gudehus
>Now, having said that, HTML seems to be pretty popular… Some folks found even HTML too cumbersome to write and edit, and built transpilers [1], [2], [3], [4]. They look a bit like QML. [1] http://jade-lang.com/ [2] http://emblemjs.com/ [3] http://haml.info/ [4] http://slim-lang.com/ --Benjamin

Re: 8u40 is released / SB

2015-03-05 Thread Tomas Mikula
And then there are GroovyFX and ScalaFX, which embed the declarative UI language in the host language. To me, FXML seems to be just compensation for the lack of expressiveness in Java. Tomas On Thu, Mar 5, 2015 at 9:58 AM, Doug Schaefer wrote: > GUI builders are great for prototyping or helping

Re: QML vs. FXML

2015-03-05 Thread Doug Schaefer
Yes :). Tom has dome some great work supporting JavaFX in the community. Now, I think you still need to compile FXGraph to something. The important requirement for declarative UI is the quick edit/reload cycle. Having the ³compiler² in the run-time would be needed for that, which is what QML, and

Re: QML vs. FXML

2015-03-05 Thread ngalarneau
Or GroovyFX From: Werner Lehmann To: openjfx-dev@openjdk.java.net, Date: 03/05/2015 10:56 AM Subject:Re: QML vs. FXML Sent by:"openjfx-dev" Like this? http://wiki.eclipse.org/Efxclipse/Tooling/FXGraph On 05.03.2015 16:23, Doug Schaefer wrote: > You really want to

Re: QML vs. FXML

2015-03-05 Thread Werner Lehmann
Like this? http://wiki.eclipse.org/Efxclipse/Tooling/FXGraph On 05.03.2015 16:23, Doug Schaefer wrote: You really want to use a domain specific language that’s easy to read and write. QML is that. I find XML tags overwhelm the rest of the text making it hard to understand what’s going on, and h

Re: QML vs. FXML

2015-03-05 Thread Doug Schaefer
In general, it’s an argument against writing code in XML. XML was really meant to be a machine to machine language, to make things like SceneBuilder easier to write :). People came second. You really want to use a domain specific language that’s easy to read and write. QML is that. I find XML t

QML vs. FXML

2015-03-05 Thread ngalarneau
Doug, You said: "good declarative UI language, think QML not FXML". What do you see as the advantages of QML over FXML? Neil From: Doug Schaefer To: "openjfx-dev@openjdk.java.net" , Date: 03/05/2015 10:00 AM Subject:Re: 8u40 is released / SB Sent by:"openjfx-dev"

Re: 8u40 is released / SB

2015-03-05 Thread Doug Schaefer
GUI builders are great for prototyping or helping you learn. But when the application gets complex I keep hearing developers throw them out. They start getting in the way. I think if you have a good API and a good declarative UI language, think QML not FXML, then you may find you don¹t really need

Re: 8u40 is released / SB

2015-03-05 Thread Scott Palmer
I would never consider for a second coding FXML "directly". I have only tweaked it by hand occasionally after creating it with SceneBuilder. SB is an important selling point for JavaFX and should be included in the JDK, it shouldn't even be a separate download. Scott > On Mar 5, 2015, at 3:19

Re: Media player performance on Mac

2015-03-05 Thread Robert Krüger
I am running 10.10.1 and the video is a standard h.264 export from FCPX, so nothing special. I have tried other plain h.264 videos (an iTunes trailer) with the same result. Have you tried it on Mac? Another thing that is strange is that files with mov-Extensions do not seem to be allowed. I had to

Re: 8u40 is released / SB

2015-03-05 Thread Benjamin Gudehus
Hi Tom! As a programmer I use SB for prototyping. I think the problem is, that designers really need a visual UI and CSS editor. Upcoming web-standards like Web Components and frameworks like Google Polymer really shine, when it comes to connection between programmers and designers. --Benjamin O

Re: 8u40 is released / SB

2015-03-05 Thread Tom Eugelink
That fact that companies are willing to invest in those editors is great; I've coded for iOS and Android, but quickly stopped using the designers. Interesting is that there is no commonly used UI designer for Swing. There were some attempts, I believe NetBeans still has one, but I know of no pr

Re: 8u40 is released / SB

2015-03-05 Thread Tobias Bley
But what about Xcode GUI design? Android Studio GUI designer? QT Designer? … > Am 05.03.2015 um 09:19 schrieb Tom Eugelink : > > My two cents would be that maintaining a UI builder is an awful lot of work, > while I expect that a lot of programmers won't be using SB because it always > has lim

Re: 8u40 is released

2015-03-05 Thread Benjamin Gudehus
> > Looks like Gluon is the Trolltech equivalent I just wished > for - that was fast :-) > I had a similar thought. Honestly this reminds me a bit more to JGoodies and the tools around it, but with a lot more. Looks good. Hope that Gluon takes the mobile ports for JavaFX and SceneBuilder to the ne

Re: 8u40 is released / SB

2015-03-05 Thread Tom Eugelink
My two cents would be that maintaining a UI builder is an awful lot of work, while I expect that a lot of programmers won't be using SB because it always has limitations. Either with complex layouts or custom controls. "Real" programmers probably use FXML directly or even just code it in Java.