We’ve got a fairly significant Swing application that we couldn’t port to Java6 until Apple released a compatible JVM. Fortunately that finally happened last week.
I’m down at JavaOne this week and was motivated to take a stab at resolving the couple dozen compilation problems and get things running.
It really wasn’t too difficult. The most annoying changes I had to deal with concerned our usage of old versions of the SwingWorker and JDIC classes. They have now been integrated into the platform with slightly different interfaces and aren’t source-level compatible with their predecessors.
I took a stab at swapping in a couple of new L&Fs, mainly Nimbus and Substance. As far as Nimbus goes, the build I grab’d from SwingLabs seemed to have a couple of problems dealing with custom UIs (a NPE attempting to replace the default SplitPaneUII). I didn’t see a build of the Java6 Update N available for the Mac so I couldn’t check to see if the problems I was seeing have been fixed. The new button UIs are definitely an improvement but I’m not quite sure how I feel about the scroll bars.
Substance was more or less a drop-in replacement that worked out of the box. The only problems I had was when I tried to apply particular themes or skins. Depending on
UIManager.setLookAndFeel(new SubstanceBusinessLookAndFeel()); BAD
SubstanceLookAndFeel.setSkin(new MistSilverSkin()); GOOD
UIManager.setLookAndFeel(new SubstanceLookAndFeel());
The former resulted in ClassCastExceptions between an internal Apple Aqua panel and a Substance panel. I suspect it just hasn’t been tested extensively with the Apple JVM.
-
Pet Peeve: Don’t email my password to me in plain text You know the drill.
Signup for some random service on the internet
Receive a confirmation email with your account information
or
Forget a password for some random service ...
-
Eclipise Memory Analyzer (MAT) I must say the Eclipse Memory Analyzer looks pretty slick. There is some pretty good material over on the developers blog. Lastly, there was a talk on it ...
-
Open-source Web-based Code Review Tool: Rietveld Guido van Rossum, of Python fame, has recently released a Django-based application that enables web-based code reviews... Rietveld.
It supports any language and currently can hook into Subversion repositories. You ...
-
An implementation of the JVM in Javascript? Caught this over on JavaPosse Google Groups.
Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There's a demo floating around that took a Tetris ...
-
Facebook Chat? So it looks like the Facebook Chat service has finally started rolling out to my network (Facebook Chat has been mentioned previously).
Not quite sure how ...
Latest Entries
- Lessons Learned as a Project Lead
- Good ANTLR Resource
- Testing with Unitils
- Headed to Kelowna for a short vacation (and the laptop stays behind)
- Seam + Groovy + Maven : Nice Simple Hibernate POJOs
- Pet Peeve: Don’t email my password to me in plain text
- Eclipise Memory Analyzer (MAT)
- caBIG Annual Meeting - A developers perspective
- OS X + Java6: java.lang.UnsatisfiedLinkError: /usr/lib/java/libObjCJava.A.dylib
- Getting started with JBoss Seam and Maven
Blogroll
May 6th, 2008 at 7:44 am
I will report off your progress
Awesome news. Hope you are having a great time down there.