Java 5 on Leopard
By Adrian Sutton
The rumors of Java 5 being horribly broken beyond all usability on Leopard are, quite frankly, bullshit. It’s faster, has better integration with the OS, the Aqua L&F is significantly improved, it has full support for 64 bit and a huge raft of bug fixes and miscellaneous improvements. Everyone’s pointing to an uninformed rant on JavaLobby which as it’s key example actually highlights a major improvement to the Aqua L&F – the JOptionPane icons should use the application icon, not some obscure artwork that’s not used anywhere else in the system. The new dialogs actually allow you to look more like native app, not less. It’s even explained in the release notes – heck, the old implementation was probably reported as a bug against Tiger.
Radar #4858198
JOptionPanes did not match the native Mac OS X dialog appearance
Description:
Default info JOptionPanes now use the application’s icon, as per the Aqua User Interface Guidelines instead of a message bubble icon. Warning and error JOptionPanes now show the application’s icon badged onto the warning or error icon as per the Aqua User Interface Guidelines.
Resolution:
This problem is now fixed in Mac OS X 10.5.
The graphics pipeline has changed in Leopard which means that if you’ve optimized for the Quartz renderer, you should specifically request it or you may find that suddenly things start going much slower. In most cases the Sun 2D pipeline is faster than the Quartz pipeline – particularly if the code makes Windows specific performance assumptions (most Java 2D code does whether the author knows it or not). So while some applications may run slower by default, most applications run much faster and those that do run slow can switch back to the Quartz pipeline. Change isn’t always easy but it happens – stop whining and start coding.
You can complain that there’s no Java 6 yet (though all those people complaining aren’t getting anywhere with porting their own and there’s no excuses now), and you can complain about the lack of information but Java 5 on Leopard is a significant improvement and the engineers at Apple deserve to be congratulated for that – not insulted.