Nimbus for the GlassFish Update Center?

There’s a lot happening in both the server and the clients Java camps. Of course JSR 295 and 296 are the most exciting, but in the community space, I find the work on the Nimbus Look-and-Feel (which I am kinda already using every day since it’s based on the Solaris Gnome theme) sounds very exciting.

Of course I could use this new Nimbus look and feel and apply it to NetBeans (the -ui option makes that trivial and I’m still not sure why this is not a standard JVM/Swing option just yet), but I’ll let Roman and friends do that. It’s probably not yet well known, but GF now has an Update Center as part of v2. It’s a separate application from the admin UI and it is Swing-based. Here’s what it looks like:

Unfortunately, after some hacking do change the look and feel, the first very good impression I initially got from using SwingSet with Nimbus didn’t translate to GlassFish’s update center:

Exception in thread "main" java.lang.NullPointerException

       at javax.swing.JTable.setSelectionBackground(

       at javax.swing.plaf.synth.SynthTableUI.updateStyle(

       at javax.swing.plaf.synth.SynthTableUI.installDefaults(

       at javax.swing.plaf.basic.BasicTableUI.installUI(

       at javax.swing.JComponent.setUI(

       at javax.swing.JTable.setUI(

       at javax.swing.JTable.updateUI(

       at javax.swing.JTable.(

I’ll keep looking…

In the mean time, the GlassFish Update Center is a tool for making documentation, product updates, extensions and even partner software available to the entire GlassFish user community. This is only the beginning.


Author: alexismp

Google Developer Relations in Paris.