Hello world! 🙂 Here are the links for this week – enjoy 🙂
- Carl Dea presented at the Montgomery County Java User Group, but unfortunately I can’t open the Google Docs link here – maybe you’ll have better luck.
- Mark Heckler has posted about how to get started (fast) with NetBeans 7.2, Scene Builder and JavaFX 2.
- José Pereda has posted part two of his series on the new MatrixPanel control that he has now c0ntributed to the JFXtras project.
- Peter Pilgrim has blogged about ScalaFX and some workarounds for SBT issues.
- Narayan Maharjan has blogged about how to write pre-loaders for JavaFX applications.
- Thierry Wasyl has a blog post detailing the properties and binding APIs in JavaFX 2.
- Steve Hannah has a blog post titled “JavaFX has finally arrived“, where he explains his first impressions with JavaFX 2. I should note there is one mistake in this post: there is no need for Swing if you want your menubars to appear in the Mac global menubar area – simply call menuBar.setUseSystemMenuBar(true) in JavaFX 2.1 and later releases.
Catch you next week!
Thank you for all your hard work 🙂
Your comment about using system menu bar in my experience on Mac OS X is only partially true.
Yes, you get a “system” menu if you use that call in a pure JavaFX project on Mac OS X, but what you don’t get is a MAC OSX menu bar, with the name of your program at the top in the menu bar, complete with an “About… item”, a “Preferences” item”, a “Services” item, and then the Quit item.
All you get by invoking the useSystemMenuBar in a pure JavaFx project on Mac OS X is a menu that says “Java”, with a “Quit” item. All you have to do is take a look at the Ensemble program submitted to Apple and available on the App Store. It does not really create the full look and feel menu that is expected by Mac users, even though, amazingly, they submitted this program as a full-fledged OS X program.
However, if you instead create a JavaFX-Swing hybrid project, you DO get all those menu items, and I personally haven’t figure out yet how to do that with just a pure JavaFX project.
Please file a JIRA issue for the mac menu bar issues and we can work on fixing them.
I have worked mostly in ObjC/Xcode and am just getting started with JavaFX. What is a JIRA issue and how do I go about filing one.
By the way, the other problem I’m still noticing about look & feel on the mac in JavaFX, besides not creating a proper mac application menu, is that the deployment task still does not pick up the icon selected in the properties for the project. All you ever get is the generic java coffee cup icon, and I’m working with latest JavaFX and JDK, 1.7.0_10 on Netbeans.
Thanks very much.