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(JTable.java:2454)

       at javax.swing.plaf.synth.SynthTableUI.updateStyle(SynthTableUI.java:117)

       at javax.swing.plaf.synth.SynthTableUI.installDefaults(SynthTableUI.java:95)

       at javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1354)

       at javax.swing.JComponent.setUI(JComponent.java:668)

       at javax.swing.JTable.setUI(JTable.java:3526)

       at javax.swing.JTable.updateUI(JTable.java:3582)

       at javax.swing.JTable.(JTable.java:614)

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.

Advertisements

Author: alexismp

Google Developer Relations in Paris.